Re: BUILD FAILED: Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found ...

2013-02-08 Thread Albretch Mueller
> Maybe try to download a fresh copy of Ant and compare it with your > installation? thank you, that did it: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ $ date; _DT=$(date +%Y%m%d%H%M%S); ant test -logfile ant_test_apache-tomcat-7.0.35-src_${_DT}.log 2>&1; dat

BUILD FAILED: Cause: the class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask was not found ...

2013-02-08 Thread Albretch Mueller
after (apparently) compiling tc just fine: $ java -version java version "1.6.0_39" $ ant -version Apache Ant(TM) version 1.8.4 compiled on October 13 2012 $ ant -logfile ant_apache-tomcat-7.0.35-src_201308075437.log 2>&1 Buildfile: /media/sdb1/prjx/tomcat/srcs/7.0.35/apache-tomcat-7.0.35-src/b

Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-24 Thread Albretch Mueller
>> If using Java Web Start would not require any Java on the back end >> whatsoever, then Marinilli on this JNLP wouldn't have dedicated a >> chapter to it ;-) >I'm curious - what functionality is required to serve JNLP apps - is >there something more than HTTP requests? ~ for example the jardif

Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Albretch Mueller
> Using Java Web Start does not require any Java on the backend > whatsoever. You can serve a Java Web Start app from a vanilla IIS with > no dynamic content at all. So, Tomcat itself has really nothing to do > with it all. ~ Not quite. The JNLP/java did most of the work itself, but if you use adv

Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Albretch Mueller
these guys tag on app store messiness issues ~ http://techcrunch.com/tag/app-store/ ~ lbrtchx - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-23 Thread Albretch Mueller
> Unless you are talking about setting up some kind of "app store" and using > Tomcat to do that? but in such a case, the issue would not be about Tomcat, > but about creating an "app store webapp" running under Tomcat. Or? ~ Exactly! Where is an (or the?) "app store webapp" running under Tomcat

Re: any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-22 Thread Albretch Mueller
OK, I may not have been clear enough and I have been "gone fishing" for quite a long time. ~ To me Java Web Start was/is an excellent technology and the way I see things are happening with Android is that developers (must?) keep their applications on "google play" (and a few other alternatives),

any servlets to implement sort of a google-play-like functionality for android and other types of mobile devices?

2012-10-22 Thread Albretch Mueller
~ apache tomcat and other servlet engines would easily do java web start apps based on JNLP and there are servlet engines running -on- Android: ~ http://code.google.com/p/i-jetty/ ~ but I wanted to actually serve Android-based and other mobile devices as you would do with PC's running different

Re: tomcat deps on ant which deps on junit ... BUILD FAILED

2012-05-02 Thread Albretch Mueller
> Any particular reason you are building from source? ~ I may need to work on the source, for example, TC's log valve. So I want to make sure that my baseline compiled ~ Also, why should you have a "particular reason" to build from source? ;-) ~ lbrtchx -

Re: tomcat deps on ant which deps on junit ... BUILD FAILED

2012-04-30 Thread Albretch Mueller
Now, I think this error relates to java ~ $ export _DT=`date +%Y%m%d%H%M%S`knoppix@Microknoppix:/media/sdb1/prjx $ ant -verbose -debug -f build.xml > "apache-tomcat-7.0.27"$_DT".inst.log" 2>&1 $ cat "apache-tomcat-7.0.27"$_DT".inst.log" Apache Ant(TM) version 1.8.2 compiled on May 19 2011 Buildfil

Re: tomcat deps on ant which deps on junit ... BUILD FAILED

2012-04-30 Thread Albretch Mueller
For the record, I should have specified I am using: ~ $ uname -a Linux Microknoppix 3.0.4 #12 SMP PREEMPT Thu Sep 8 05:27:05 CEST 2011 i686 GNU/Linux ~ lbrtchx - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: tomcat deps on ant which deps on junit ... BUILD FAILED

2012-04-30 Thread Albretch Mueller
~ I really don't know how to make sence of this, but ant does not appear to like symbolic links ... ~ lbrtchx ~ $ ls -l /usr/bin/ant lrwxrwxrwx 1 root root 20 Sep 13 2011 /usr/bin/ant -> ../share/ant/bin/ant $ ls -lH /usr/bin/ant -rwxr-xr-x 1 root root 9903 May 19 2011 /usr/bin/ant $ ls -l /u

Re: tomcat deps on ant which deps on junit ... BUILD FAILED

2012-04-30 Thread Albretch Mueller
> Exactly what Tomcat distribution (and from where) are you trying to install? ~ Well, I got the source code from: ~ http://apache.claz.org/tomcat/tomcat-7/v7.0.27/src/apache-tomcat-7.0.27-src.tar.gz ~ and followed the build instructions ~ lbrtchx -

tomcat deps on ant which deps on junit ... BUILD FAILED

2012-04-30 Thread Albretch Mueller
~ While trying to install tomcat-7.0.27 it tells me install ant, which tells me to install junit and then you get: ~ Has anyone dealt with those issues? ~ lbrtchx ~ $ git clone https://github.com/KentBeck/junit.git > "/media/sdb1/prjx/sw/jwebXBL/java_baseline/srcs/junit/REF/junit.git_"$_DT".inst

Re: trying to install openjdk + tomcat -from source- ...

2012-04-27 Thread Albretch Mueller
~ Well, you are right, but maybe you guys knew of complete installation of an environment, which I had seen before, but for some reason can't fidn now ~ lbrtchx - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For a

trying to install openjdk + tomcat -from source- ...

2012-04-27 Thread Albretch Mueller
~ I have constantly run into various problems which I don't think are well explained in the build instructions ~ http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html ~ and I have also searched and searched to no avail ~ Actually I am having problems with openjdk version 7 and 8

Re: BUILD FAILED apache-tomcat-7.0.22-src build.xml (lines 2211, 2313) ...

2011-10-26 Thread Albretch Mueller
well I got the same error. I think I will have follow Chucks advice when I have a little more time. I will let you know how it all went then thing is that while using the 1.6 version that comes with knoppix I was getting other kinds of errors relation to ant, so I will have to install 1.6 from s

BUILD FAILED: apache-tomcat-7.0.22-src/build.xml ...

2011-10-26 Thread Albretch Mueller
while trying to compile apache-tomcat-7.0.22 sources I am getting an error I don't quite understand ~ why is this happening? ~ how can I fix this problem? ~ lbrtchx ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ... BUILD FAILED /media/sda7/inst/java/j

BUILD FAILED apache-tomcat-7.0.22-src build.xml (lines 2211, 2313) ...

2011-10-25 Thread Albretch Mueller
I have both JAVA_HOME and ANT_HOME set (I have tried the same thing as regular user with no root permissions and as root) # echo $JAVA_HOME /media/sda7/inst/java/jdk/jdk1.7.0_01 # echo $ANT_HOME /media/sda7/inst/java/ant/apache-ant-1.8.2 # java -version java version "1.7.0_01" Java(TM) SE Runti

Re: Trying to run tc from a read-only partition . . .

2008-12-05 Thread Albretch Mueller
>> setting the [Engine > Realm > Host > Valve]:directory with >> the full path to where you want the logs to be sent > > Insufficient, since you didn't change where the vast majority of the logs are > configured, which is in conf/logging.properties. > ~ configuring where those logs should go in c

Trying to run tc from a read-only partition . . .

2008-12-04 Thread Albretch Mueller
Hi, ~ I am trying to run tomcat from a directory mounted as read-only and I was under the impression all it took was, doing two or three things namely: ~ * If you need to edit the webapps as tomcat runs, resetting the [Engine > Realm > Host]:appBase to the new webapps directory in the writable a

Re: BUILD FAILED ...

2008-11-28 Thread Albretch Mueller
~ I think it is working, but it is way too slow. ~ 64.66.192.62 is the address of the proxy I am using ~ 64.66.192.62 - - [28/Nov/2008:04:37:30 -0500] "GET / HTTP/1.1" 200 7857 64.66.192.62 - - [28/Nov/2008:04:37:30 -0500] "GET /tomcat-power.gif HTTP/1.1" 200 2324 64.66.192.62 - - [28/Nov/2008:04

Re: BUILD FAILED ...

2008-11-27 Thread Albretch Mueller
rtchx On 11/27/08, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> From: Albretch Mueller [mailto:[EMAIL PROTECTED] >> Subject: Re: BUILD FAILED ... >> >> >> > autoDeploy="true" xmlValidation="false" xmlNamespaceAware="f

Re: BUILD FAILED ...

2008-11-27 Thread Albretch Mueller
les R <[EMAIL PROTECTED]> wrote: >> From: Albretch Mueller [mailto:[EMAIL PROTECTED] >> Subject: Re: BUILD FAILED ... >> >> So I need to be able to access the >> webserver by going http:/// > > Have you configured Tomcat to use port 80? (The default HT

Re: BUILD FAILED ...

2008-11-27 Thread Albretch Mueller
h0 up sh-3.1# cat /etc/resolv.conf nameserver 66.114.74.40 nameserver 66.114.74.195 sh-3.1# ~ On 11/27/08, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> From: Albretch Mueller [mailto:[EMAIL PROTECTED] >> Subject: Re: BUILD FAILED ... > >> and by the way I notice

Re: BUILD FAILED ...

2008-11-27 Thread Albretch Mueller
yeah! I had to take the result of the build from ~ /media/hda3/tc/tc-6.0.18/output/build ~ and by the way I noticed tc doesn't seem to be using the /common directory anymore ~ Thank you again lbrtchx - To start a new topic, e-

Re: BUILD FAILED ...

2008-11-26 Thread Albretch Mueller
>> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/catalina/startup/Bootstrap > What's in the /media/hda3/tc/tc-6.0.18/bin directory? ~ sh-3.1# pwd /media/hda3/tc/tc-6.0.18/bin ~ sh-3.1# ls -l total 100 -rw-r--r-- 1 root root 1201 Jul 21 20:01 Tomcat6.launch -rw-r--r-- 1

Re: BUILD FAILED ...

2008-11-26 Thread Albretch Mueller
On Wed, Nov 26, 2008 at 4:08 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> sh-3.1# java -version >> java version "1.6.0_07" > > Tomcat must be built with a 1.5 JDK at the moment, due to incompatibilities > introduced by Sun in 1.6. ~ However, tc doc states: "version 1.5.x or later" and t

BUILD FAILED ...

2008-11-26 Thread Albretch Mueller
Hi, ~ I installed java and ant in my box: ~ sh-3.1# which java /media/hda3/jdk1.6.0_07/bin/java ~ sh-3.1# java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing) ~ sh-3.1# echo $JAVA_HOME /media/hd

Re: two questions: HTTP 1.1 headers + constantly open connections in TC

2008-08-08 Thread Albretch Mueller
e JWS app from any of the boxes they could use in the lab ~ Thanks lbrtchx On Fri, Aug 8, 2008 at 11:19 AM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Albretch, > > Albretch Mueller wrote: > | 1) Can you achieve suc

two questions: HTTP 1.1 headers + constantly open connections in TC

2008-08-08 Thread Albretch Mueller
~ 1) Can you achieve such a thing as a registered, dedicated, always open connection to each client in a network from login to logout using tomcat?, and ~ 1.1) How can browsers be configured to take advantage of them? 1.2) What would you suggest if I would like this configuration to be availab

Re: The type <. . .> is not visible

2008-05-24 Thread Albretch Mueller
> Its a long story all on its own... and doesn't really have much to do with > tomcat, other than tomcat does similar things internally, but you have no > control over that. ~ Well, I just used tc to show as part of the previous thread on c.l.j.p that it was indeed possible to (re)load totally n

Re: The type <. . .> is not visible

2008-05-23 Thread Albretch Mueller
> . . . he thinks that tomcat can't handle 'generic' classes ~ Well, then I think tc classloaders do to the extent that I need ~ Here is what I need/have in mind. ~ I would get at run time some data that I can represent as DTOs part of it is input and some other is output. I can and do create th

Re: The type <. . .> is not visible

2008-05-23 Thread Albretch Mueller
thanks I was experimenting with generics and classloading and used tc's classloaders to clarify some issues relating to it Check may want to check out the starting tread on comp.lang.java.programmer "Created a class dynamically but could not use it to create typed objects" lbrtchx -

The type <. . .> is not visible

2008-05-23 Thread Albretch Mueller
Hi I need to check if the tc classloaders are able to load/reload generic classes. So I created two sample classes in /webapps/ROOT/WEB-INF/classes/test/k00: package test.k00; class K00{ public int i0; public long l0; } and package test.k00; import java.util.*; // __ class GenK00{ pr

Re: Security Realms and form-login-page

2008-01-21 Thread Albretch Mueller
> Let me get this straight: you want to create a webapp that does nothing > other than authenticate connections for another webapp? > > Why would you want to do something like this? ~ Well, what else would you do if: ~ * you maintain a number of name-based virtual hosts (of your own and for devel

Re: Security Realms and form-login-page

2008-01-21 Thread Albretch Mueller
On Jan 20, 2008 9:59 AM, Martin Gainty <[EMAIL PROTECTED]> wrote: > are you using apache as front-end? > or are you relying on the https connector? > Martin- ~ I am using apache as front-end ~ lbrtchx ~ - To start a new topic,

Security Realms and form-login-page

2008-01-19 Thread Albretch Mueller
On page 120 of the servlet spec., it is stated referring to the element in the section of an application's web.xml: ~ The form-login-page element defines the location in the web app where the page that can be used for login can be found. The path begins with a leading / and is interpreted relat

what could be possibly wrong with my admin.xml and manager.xml files?

2008-01-17 Thread Albretch Mueller
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ // __ These are my admin.xml and manager.xml files ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ // __ These are the types pf errors I am getting ~ 2008-01-16 16:52:52 HostConfig[localhost]: Deploying configuration descr

Re: org.apache.commons.digester.Digester endElement (Q & A)

2008-01-10 Thread Albretch Mueller
OK, my conf files were like that: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ and what I believe to be a bug is that conf parsers should not pick anything between "" ~ lbrtchx - To start a ne

Re: org.apache.commons.digester.Digester endElement (Q & A)

2008-01-10 Thread Albretch Mueller
s. This > > would fail if run through a XML validator. If the begin element is in > > the comment, so should it's corresponding end element. Additionally > > be careful you don't try to nest comments. > Another comment --> --> does not work. > >

org.apache.commons.digester.Digester endElement (Q & A)

2008-01-04 Thread Albretch Mueller
if you find exceptions looking like this: ~ org.apache.commons.digester.Digester endElement SEVERE: End event threw exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA

HTTP Status 500 while trying to use a DTO to send data from a Servlet to a JSP

2008-01-03 Thread Albretch Mueller
~ I am using TC 4.1.36 and I have a simple Data Transfer Object that I create in a front controller servlet and use to build a JSP view ~ This is where I have both the servlet and the DTO ~ . . .\webapps08\serv2jspTest\WEB-INF\classes>dir *.* /B ~ UpFlInfoK.class UpFlInfoK.java UploadServlet10.c

set env. variables in tomcat's running JVM

2007-12-25 Thread Albretch Mueller
~ I am using TC 4.1.36 and I need to set the directory where the webapps and log files are located at run time in the catalina.sh startup file as part of the JAVA_OPTS ~ JAVA_OPTS=$JAVA_OPTS:-Dconfig.webapps.dir="/media/sdb5/webapps" JAVA_OPTS=$JAVA_OPTS:-Dconfig.logs.dir="/media/sdb5/logs" ~

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-08 Thread Albretch Mueller
Thanks for your help Chuck and I have started to suspect the documentation a bit or something weird may be happening ~ > Did you miss this part of the doc? ~ "You would place a similar log4j.properties file in your web application's WEB-INF/classes folder, and log4j1.2.8.jar into WEB-INF/lib. Then

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Albretch Mueller
I was curious as to the configuration that was being fed by the JVM when you go: ~ catalian run ~ that was it: ~ "$JRE_HOME\bin\java" -verbose:class -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="$CATALINA_HOME\conf\logging.properties" -Djava.e

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Albretch Mueller
while searching I also notice that as John Lennon said in "imagine" "I am not the only one" ;-) ~ Why have they made so hard just going System.out.println(" ...") in your servlets code? ~ lbrtchx - To start a new topic, e-mail:

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-07 Thread Albretch Mueller
OK, I think, this time I did follow the FM ;-) at: ~ http://tomcat.apache.org/tomcat-6.0-doc/logging.html ~ > 1._ I did create a log4j.properties file and placed it in $CATALINA_HOME/lib ~ C:\cmllpz\prjx\java\GWB\tc\tc-6.0.14\lib>dir *.properties Volume in drive C is IBM_PRELOAD Volume Serial N

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-03 Thread Albretch Mueller
> > /META-INF directory you say? Isn't /META-INF a special descriptor > > folder in WAR files? > Yes, and also in expanded .war files. That's where Tomcat will look for > the context.xml file; read the doc: > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html ~ I see! and thank you! Th

Re: Still trying to log using org.apache.juli.FileHandler ...

2007-12-03 Thread Albretch Mueller
~ /META-INF directory you say? Isn't /META-INF a special descriptor folder in WAR files? ~ This is what I read from the latest final release of the Servlet Specification ~ // __ SRV.9.6 Web Application Archive File, page: 71 ~ SRV.9.6 Web Application Archive File Web applications can be package

Still trying to log using org.apache.juli.FileHandler ...

2007-11-21 Thread Albretch Mueller
~ I have a webapp outside of the $CATALINA_HOME directory branch (I don't think this relates to my problem since I see how all clases are loaded and web.xml there is read without any apparent problems) ~ But I am not able to log via the occassional System.out.println and System.err.println even t

Re: set juli logging directory?

2007-11-20 Thread Albretch Mueller
> How can I avoid making this property and point a juli logger handler to > web\logs directory? ~ Have you taken a look into the "directory" setting or your logging.properties file? Either the global or for the application? ~ lbrtchx --

in memory persistent session.JDBCStore . . .

2007-11-12 Thread Albretch Mueller
~ Would it make any sense to use an in memory session.JDBCStore or simply set a negative maxInactiveInterval? ~ IMHO it is best to put lots of RAM in your box and set a high or negative maxInactiveInterval, but I may be missing some basic issues and I don't know the details of tomcat's inner work

Would it made any sense to use an in memory session.JDBCStore . . .

2007-11-06 Thread Albretch Mueller
~ or simply set a negative maxInactiveInterval? ~ IMHO it is best to put lots of RAM in your box and set a high or negative maxInactiveInterval, but I may be missing some basic issues and I don't know the details of tomcats inner working ~ Another question that has been floating in my mind; in c

Has anyone managed to run TC from a CD?

2007-11-01 Thread Albretch Mueller
I did a quick first try at it and the webapps and loggers can be simply and declaratively branced off in server.xml and the logging.properties files, but the "work" directory would invariably appear ~ The relatively minor thing I stumble on was changing the scratchdir setting for the work folder

Re: Trying to use the "juli" Loggers within Tomcat

2007-11-01 Thread Albretch Mueller
where "foo" in: ~ > java.util.logging.Logger juliLogger = > java.util.logging.Logger.getLogger("foo"); ~ is one the name of one of the loggers your defined in the logging.properties file in the webapp right? ~ Where could I find more detailed info on this? ~ I stopped using TC some time ago an

Trying to use the "juli" Loggers within Tomcat

2007-11-01 Thread Albretch Mueller
Hi, ~ all I need is going like this from within a servlet ~ Logger Lg = LoggerFactory.getLogger(); Lg.log("blah"); ~ I am able to attach a logger to a webapp but I don't know how to use loggers to occassionally debug servlets and I couldn't find anything when I searched for it ~ How