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 21
Buildfile:
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 21; date
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?
~
~ ~
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
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
~
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
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),
but
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
~
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
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
~
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
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
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 21
$ cat apache-tomcat-7.0.27$_DT.inst.log
Apache Ant(TM) version 1.8.2 compiled on May 19 2011
Buildfile:
~
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
~
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
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
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
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
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
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
~
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 - -
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,
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 noticed tc doesn't seem to be using the /common
directory anymore
Correct
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://IP_address/
Have you configured Tomcat to use port 80? (The default HTTP port is 8080.)
If you want to use port 80, you'll have to run
, Charles R [EMAIL PROTECTED] wrote:
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: BUILD FAILED ...
Engine name=Catalina defaultHost=localhost
Host name=192.168.1.249 appBase=webapps unpackWARs=true
autoDeploy=true xmlValidation=false xmlNamespaceAware=false
Change the Host
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
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 to me later
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 root
~
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
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 such a thing as a registered, dedicated, always
| open connection to each client in a network from login
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 new
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{
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
. . . 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
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,
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
On page 120 of the servlet spec., it is stated referring to the
form-login-page element in the security-constraint 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
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
// __ These are my admin.xml and manager.xml files
~
!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml 287893 2002-04-08 17:46:08Z craigmcc $
--
Context path=/manager
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. !-- Some comment !--
Another comment -- -- does not work.
--David
Albretch Mueller wrote:
if you find exceptions looking like
OK, my conf files were like that:
~
!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml 287893 2002-04-08 17:46:08Z craigmcc $
Context
Linux Box:
path=/manager
docBase=/media/sda2/inst/sw/java/TC/tc4.1/apache-tomcat-4.1.36/server/webapps/manager
Windows
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
~
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\classesdir *.* /B
~
UpFlInfoK.class
UpFlInfoK.java
~
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
~
and
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
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\libdir *.properties
Volume in drive C is IBM_PRELOAD
Volume Serial
~
/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
/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! The
~
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
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
~
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
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
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 and now
56 matches
Mail list logo