> 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
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
>> 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
> 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
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
> 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
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),
~
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
> 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
-
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
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
~
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
> 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
-
~
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
~
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
~
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
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
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
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
>> 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
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
~
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
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
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
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
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-
>> 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
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
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
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
~
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
> 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
> . . . 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
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
-
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
> 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
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,
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
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
// __ 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
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
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.
> >
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
~
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
~
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"
~
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
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
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:
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
> > /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
~
/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
~
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
> 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
--
~
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
~
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
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
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
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
57 matches
Mail list logo