We have mod_jk 1.2.8 with apache 2.0.53 on solaris 2.8 connecting to JBoss
4.0.2 on solaris 2.8 setup.
The number of apache child processes grows gradaully and upon reaching
around 150 the system response degrades forcing us to restart the apache
server.
On investigation it is found from
We have mod_jk 1.2.8 with apache 2.0.53 on solaris 2.8 connecting to JBoss
4.0.2 on solaris 2.8.
The number of apache child processes grows gradaully and upon reaching
around 150 the system response degrades forcing us to restart the apache
server.
On investigation it is found from the
I don't know about Tomcat 5.5 specifically, but in Tomcat 5.0, startup.bat calls
catalina.bat which calls setclasspath.bat. You'll see it runs the following,
and if it can't find any of the files (probably because your JAVA_HOME is a JRE
and not a JDK), it'll call exit and close your window:
if
Hi,
Deploying my first Custom Tag Example;
.tld, .jsp, .class are in place..any other
configuration reqd?
Thanks.
org.apache.jasper.JasperException: /hello.jsp(9,16)
Unable to load tag handler class Hello for tag
sample:hello
, 2004 at 03:17:50PM -0700, Java
Techie wrote:
: Deploying my first Custom Tag Example;
: .tld, .jsp, .class are in place..any other
: configuration reqd?
Details work wonders.
Instead of saying in place, why not show:
- where's the class file(s)
- where's the tld(s)
- the TLD mapping(s
Hi,
in my struts-config:
im using
data-sources
data-source
type=org.apache.commons.dbcp.BasicDataSource
key=UserDB
set-property property=driverClassName
value=oracle.jdbc.driver.OracleDriver/
set-property property=url
value=jdbc:oracle:thin:@myPC:1521:newDB/
set-property property=username
directory. Move the
nls_charset12.zip file over as
well.
-Original Message-
From: Java Techie [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 2:13 PM
To: [EMAIL PROTECTED]
Subject: ClassNotFoundException: OracleDriver
Hi,
in my struts-config:
im using
data
Hi,
I am using Tomcat5 on win2k Professional.
I want to use it as a windows service.
Please help.
Thanks.
Yogesh
__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Thanks for replies.
Now I can see it as a service, but when i try to start
it it says Windows cant start the service... If its a
non microsoft service... and refer the service
specific error code 0
Thanks.
--- Java Techie [EMAIL PROTECTED] wrote:
Hi,
I am using Tomcat5 on win2k Professional
Hi All,
When I am precompiling my JSP files using the ant script provided in the documentation
using jasper (ant script),I couldn't compile my whole _jsp.java files as those files
have %@ include other jsp files % and the error says the dependent object in the
included file couldn't be
Total time: 1 second
can anybody please help?
Regards,
javaonlyjava
java only [EMAIL PROTECTED] wrote:
Hi All,
When I am precompiling my JSP files using the ant script provided in the documentation
using jasper (ant script),I couldn't compile my whole _jsp.java files as those files
have
- Original Message -
From: java only
To: Tomcat Users List
Sent: Friday, July 23, 2004 10:46 AM
Subject: Re: precompiling jsp files gives error
Hi ,
I have checked the archives and I have found that someone else has
suggested to use their build.xml file (it was named
tomcat-precompile-jsp.xml
Hi all,
I am unable to compile JSP files,it gives me the following exception
org.apache.jasper.JasperException: Unable to compile class for JSPNo Java compiler was
found to compile the generated source for the JSP. This can usually be solved by
copying manually $JAVA_HOME/lib/tools.jar from
footprint of tomcat with the current
configuration.
Hope it helps
-reynir
java only wrote:
Hi All,
I have seen in Tomcat 5.0.25 Release notes the JAVAC Leaking memory
problem is mentioned. Earlier I was using Tomcat 3.3.1 and was getting
java.lang.OutOfMemory Exceptions after every 2-3 days and had
Is it that JSP pages compile only once(not just for each session) but for the entire
tomcat server scope (application scope) ?
And also can anybody throw some more light on leaking memory problem
Regards,
javaonlyjava
Reynir_Þór_Hübner [EMAIL PROTECTED] wrote:
java only wrote
Hi All,
I have seen in Tomcat 5.0.25 Release notes the JAVAC Leaking memory problem is
mentioned. Earlier I was using Tomcat 3.3.1 and was getting java.lang.OutOfMemory
Exceptions after every 2-3 days and had to restart my Tomcat Server.I am planning to
migrate to Tomcat 5.0.25 version , but
Hi,
I got a problem while starting tomcat5 on Win2k,
jre1.3.
Unsuported JNI version 65537
[2004-05-23 19:09:58] [770 prunsrv.c] [error]
Failed initializing
java c:\tomcat\tomcat5\bin\bootstrap.jar
[2004-05-23 19:09:58]
and therefore it will also not run as a service.
can anyone
java.lang.ExceptionInInitializerErrorjava.lang.ExceptionInInitializerError:
sun.misc.InvalidJarIndexException: Invalid index!
FYI, I have java version 1.3.0_02 and my JAVA_HOME variable is as follows:
set JAVA_HOME=D:\jdk1.3.0_02. I did not define CATALINA_HOME variable. It is, I
guess, defined by the tomcat startup script.
Can somebody help
Hi,
I think this is a bug as per the servlet specification.Just check with some
other servlet engine. I will forward this error to tomcat developer list. I
was tested with Tomcat3.2.2.
Velmurugan P.
Java Team.
- Original Message -
From: Hans Schippers [EMAIL PROTECTED]
To: [EMAIL
Hi,
Am using Tomcat 4.1.12 on Windows 98/Linux. I found that tomcat when
realoding a webapps becoz a class changed, does not call the Servlets
registered as LoadOnStartup. Becoz of this the application starts correctly
but if reloaded without a restart, the application comes unusabled since
If I disable the invoker, I can't access to any of my servlets from the main servlet.
The method is that the user use the name in the mapping to enter the application and
from there I fw the request to the relevant servlet (kind of dispatcher) and from the
main servlet I use the original class
Mark,
Try https:// instead of http://.
DP
From: Mark Liu [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Problem setting up Tomcat's SSL (again!)
Date: Thu, 14 Nov 2002 10:28:57 -0800 (PST)
Hi,
I am attempting to setup
Has any got the DBCP to work with tomcat 4.1.12 and MySQL? If so, what do
you have to do to be able to get a connection?
Thanks
JL
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
To unsubscribe,
Hi -
I am not sure on what type of application you are
building, but doing connection related stuff
(including running sql over already established
connection in jsp) isnt very good idea. Read about mvc
model if you are in design stage.
In anycase, if you still need access to pooled
Hi.
My problem is as follows:
When running tomcat normaly there is no issue, but when running as service I get an
unsatisfiedLinkError Exception when trying to load dll. Even though the dll is in the
Environment path.
What am I missing?
Thanks.
Oded Hasidi.
--
To unsubscribe, e-mail:
owns the .dll, and who has rights to it?
rls
Java Group [EMAIL PROTECTED]
09/26/2002 01:42 AM
Please respond to Tomcat Users List
To: [EMAIL PROTECTED]
cc:
Subject:Running tomcat as service
Hi.
My problem is as follows:
When running tomcat normaly
Hi.,
i am trying to use servlet with tomcat 4.0.3 that
tries to load classes from rmi codebase defined by
http protocol.
catalina.out log is reporting classnot found
exception while other stand alone clients are working
fine.
Read somewhere about Jar handler problems in tomcat
but that
I am encountering serious issues with tomcat and rmi..
I am getting all sorts of problems ranging from
1. version 4.0.3 cannot load classes from rmi
codebase.. reading the codebase but returning
classnotfound exceptions..
2. version 4.0.4 webappclass loader dying with 'Life
cycle error' and
Hi.,
I am trying to access a JINI service thru my
servlet.. inspite of following Security Manager,
Policy file and setting codebase etc, tomcat 4.0.3
repeatedly give following excption.
The JINI service itself is working fine and other
standalone clients can access it.
Read somewhere that the
id is not a part of the query
string but part of the url.
http://www.reseller.com:10001/anacreon/servlet/CustomerIndexServlet;jses
sionid=A4A0314540585318A4F5E327F1457375
You should better disable cookies and use response.encodeUrl().
-Ursprüngliche Nachricht-
Von: Jiger Java [mailto
On 5/25/02 3:43 AM, Jiger Java [EMAIL PROTECTED] wrote:
Hi,
I have checked the archives already but did not come across similar
problems so I would like to ask it.
My Platform:
Tomcat 4.0.
JDK 1.4
RHT Linux
We have this application hosted on an generic server say
http
Hi,
I have checked the archives already but did not come across similar
problems so I would like to ask it.
My Platform:
Tomcat 4.0.
JDK 1.4
RHT Linux
We have this application hosted on an generic server say
http://www.server.com now our reseller's can map their DNS such that
name. I am not sure I understand your question, but
if
I am reading it correctly, the only thing you can do is some manual
persistence scheme, such as using a database and url rewriting or some
similar scheme.
does this help?
fillup
On 5/25/02 3:43 AM, Jiger Java [EMAIL PROTECTED] wrote:
Hi
Hi
Have you used any pooling software?How can you achieved connection
pooling?.
Actually we had same problem and we got the solution.
Give more details on that will help to identify the problem.
Regards
VelmurganP
([EMAIL PROTECTED])
SoftSolutions
Chennai.
- Original Message
Hi
Use the following Webster.www.ambysoft.com
Regards
Velmurgan P.
- Original Message -
From: Collins, Jim [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 2:03 PM
Subject: RE: automatic login
Hi Craig,
Could you please send the URL for
Hi.,
I am trying to setup tomcat connector (4.0.3) for
iplanet (6.0 sp2).
In the intial testing, connector is caching the
worker name previously used (even after
worker.properties changed and iplanet restarted). In
the jk_log, I see the new worker properties taking
effect, but once i try
Hi.,
I am trying tomcat connector (4.0.3) with iplanet
server. After changing workers.properties file, the
connector is still looking for DEV worker. Connector
initialization shows new workers but while serving the
request, the connector returning error as its looking
for old worker.
Is
Hi,
Is is possible to do url rewriting in Tomcat. Something such that when
a request like
http://www.server.com/reseller comes in then the server will
execute/get/map/etc etc the final url will become as
http://server.com/servlet/LoginServlet?role=reseller
which is then the named servlet
Hi,
I am having some problem fitting my requirements in web.xml. I want to
do something like this.
Whenever a user says http://server.com/contracts . It is supposed to show
him the login page. But with some extra parameters to be added.
So basically the url will become
Hi Craig,
* Creating objects based on classes loaded from /WEB-INF/classes or
/WEB-INF/lib, but passing references to them to classes that are
loaded from the shared class loader (and are thus NOT reloaded by
the reloading mechanism). The old objects survive the reload (because
triggers context restart because
of which then entire tomcat becomes unstable I start getting funny error
like
java.lang.NoClassDefFound : java/lang/ClassCastException
or linkage error what not. I am FORCED to restart my tomcat server as u
will agree this is not possible on a production server
Hi all,
I am using Tomcat 4.0 final, Win98, JDK 1.4 beta 3.
Problem description :I feel that Tomcat is loosing some values from the
session.
Problem explanation : In the application we are building,I have tomcat 4.0
final running on win98. In my app the user logs in, his
Hi all,
I am using Tomcat 4.0 final, JDK 1.4 beta 3, Win98 for dev.
I am using a automatic bean population class to automatically populate bean
based on request object just like in Struts.
Ok, now the problem comes during population when I receive the following
exception.
First off, I'd like to reply to an earlier post
and the I'll talk about a weird finding
regarding server.xml with Tomcat 3.3 on Linux 2.4.x
with Java 1.3.x.
We're the main european hub for bioinformatics
research and resources,
the fact that webapps exist and can be packaged is
incredibly
Hi all:
We all know that the lazy-double-check idiom doesn't
apply to Java because of the Java Memory Model (JMM).
That is to say, look at code such as:
Example a)
// Set by any other thread other than #1
volatile boolean stop = false;
// Thread #1 runs this as long as
// stop is false
Hi all:
Tomcat 3.3 (on linux) seems to be quite shoddily
developed. Surprising that, given it's high
visibility and posture.
Consider for instance:
I downloaded the binary distro of tomcat 3.3.
I have set and exported both TOMCAT_HOME and
JAVA_HOME. Compiled and installed mod_jk.so
too.
Vladimir Grishchenko [EMAIL PROTECTED], looked
up from a pending proctological exam, butthole
opening, and contracting and gushing rectal mucous and
opined:
I used almost every version of TC since 3.x to 4.0.
[..a buncha crap flushed..]
Jeez. It must be part of the human condition that
there
, even trivialities like
source code formatting/comments.
JSP/Servlets are *important*. They are probably the
most important java api, now that java has proven
to be a total failure on the client side. (java, in
general, is *great* though).
Now, it wouldn't be so bad that tomcat is a internal
mess
Micael Padraig Og mac Grene wrote:
[...]
snip
Padraig og mac ?
What kind of a name is that ? It sounds similar to
the sound I make when I fart. Smells about the
same too. Since you are so apt in making suggestions,
allow me to make two of my own: a) look up the
word 'rant' in an English
is notoriouse of
working only with old xerces parser i.e xerces 1.2 or before.
Bye,
Jiger
From: Jiger Java [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Unable to compile JSPs in Tomcat 4
Date: Wed, 03 Oct 2001 18:39:14 +0530
Hi Friends,
I am working
From: Jiger Java [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Unable to compile JSPs in Tomcat 4
Date: Thu, 04 Oct 2001 17:02:48 +0530
Hi all,
Ok so finally I have been able to solve my Tomcat Problem. I am
writing this for others to not waste 2 days
Hi Friends,
I am working on Tomcat 4 Final Release. The scenerio is like
this.
I am using XML Schema instead of DTD so I downloaded Lastest Xerces 1.4.3
since older Xerces were creating problems. I put the latest Xerces.jar file
in mycontext/WEB-INF/lib. Now these Xml files are
Hi Craig,
Things are working now. What I did was to put log4j.properties in
WEB-INF/classes log4j.jar in WEB-INF/lib. But as u will agree this is not
optimum since I will then have to put log4j.jar in all WEbapps. So I moved
log4j.jar into common/lib then problems start. If I put
around 1500 pages.
The java.exe memory get increased near 300 MB. Even though not decreased No one
accessing the page.
Please tell the reason where could be the problem cause?. This is Urgent One. Reply
the solution as soon as possible.
Regards
VELMURGAN P
JAVA TEAM.
Hi friends,
This is my first mail to such a wondefull group.Well I just
downloaded Tomcat Rc2 (and tried to convince my boss to use it).
But frankly speaking I found some weird diffiulty installing Rc1 Rc2.
Now I understand that Tomcat 4 has a major architecture changes like
Custom
From: Pier Fumagalli [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 4 RC 2 doubts
Date: Sun, 16 Sep 2001 14:25:41 +0100
Jiger Java [EMAIL PROTECTED] wrote:
1. Since Tomcat 4 uses its own Classloaders it does not recognise the
JDK
CLASSPATH
-tomcat-3.2.3
#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=/usr/java/jdk1.3.0_02/
#
# You should configure your environment slash... ps=\ on NT and / on
UNIX
# and maybe something different
Hi,
I have a web server with Apache (with SSL) + Tomcat (with ajp13)
Tomcat don't have a HTTP connector.
My application only use JSP-servlets(no static page).
It work perfectly with IE5.0 , Netscape 4 or Netscape 6
When I use IE5.5 to connect to my apache i have this message from IE :
(i have a
ApJServMount /something ajpv12://localhost:9500/something
With JkMount :
in mod_jk :
JkMount /something/* ajp13
in workers.properties :
worker.ajp13.port=9500
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
Hello,
I am trying to create a pooled resource. I am doing
this by loading a wrapper class on startup that will
recieve two parameters and manage the resources based
on those parameters. I do not know the exact syntax
for using the load-on-startup tag. Could someone
please help?!
Thank you.
how to use load-on-startup. Look at the
JSDK spec, at,
http://java.sun.com/products/servlet/download.html
or web.dtd, at,
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
-- Bill K.
-Original Message-
From: Java Junkie [mailto
-on-startup 1 is order in
which class files to
be loaded
--saritha
-Original Message-
From: Java Junkie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 5:02 PM
To: [EMAIL PROTECTED]
Subject: RE: load-on-startup
I couldn't quite follow how the document said
Hi
It's confusing
I'm working with TOMCAT 3.2.1 an a LINUX machine. In the TOMCAT -
configuration-files I switched on the automatic reload of servlets, if they were
changed. Why does it happen that sometimes the reload is done and sometimes not???
Is there anyone who has an explanation or an
Hello All,
It is quite a few days that I am spending on tomcat virtual hosting on
RedHat Linux 7.1 and it is not still working. Where do you think I can get
the latest information on How to setup virtual hosting for tomcat?
Please help
Thanks
java developer in crisis
, but only with the -server option.
Ludovic Java Poop wrote:
Hi -
We have recently moved our production site to use JSPs with
Tomcat 3.2.1/Apache 1.3.17/Sun JDK 1.3.0/Solaris 2.6. After
running for a couple of hours, our JVM crashes
Hi experts,
I have some problems in integrating TOMCAT and APACHE like it is described
in your Minimalistic User's Guide.
My Apache Webserver Version 1.3.14-6 is running on a SUSE 7.1 - LINUX
machine and it works fine for itself.
The Tomcat Version is 3.1-70 and also this application works fine
Hey guys-
I'm trying to figure out way to separate my
initialization parameters from my application.war file. Because certain things
are different between dev, qa and live machines (such as database hostname,
username, password, etcs), I rather not put these values in the web.xml file.
PM
Subject: Re: getResourceAsStream - properties files
On Sat, 31 Mar 2001, Java Poop wrote:
snip/
InputStream stream =
this.getClass().getResourceAsStream("testApp.properties");
This is supposed to work if you store the testApp.properties file in
WEB-INF/classes, *and
4.0 world?
thanx,
JP
- Original Message -
From: "Craig R. McClanahan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 31, 2001 8:59 PM
Subject: Re: getResourceAsStream - properties files
On Sat, 31 Mar 2001, Java Poop wrote:
Hey guys-
I'm tryi
)
at
com.codestudio.util.PoolManBean.getAllPoolnames(PoolManBean.java:90)
at
_0002fPoolMan_0002ejspPoolMan_jsp_0._jspService(_0002fPoolMan_0002ejspPoolMa
n_jsp_0.java:109)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service
Have you tried setting the cache and expire headers?
Try addding:
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy
server
JP
- Original Message -
From:
Can anyone please help me on how to setup contexts
for ex: http://localhost:8080/tcp
and please also kindly me know the username and password for the
http://localhost:8080/admin page or is there any alternative for the
above.
Raj.
Can anyone help me on how to create a context like /tcp or /exams in the
server.xml file. And also please let me know the password and username to
enter into the /admin pages.
Rajshekhar.
-
To unsubscribe, e-mail: [EMAIL
I'm writing a
servlet that uses session tracking with URL rewriting (noCookies="true"). I'm
using Tomcat 3.2.1.
When the servlet is
located in webapps/Root/Web-inf/classes, it works fine, and the URLs are
rewritten with the appropriate session ID, but when the servlet is located
in another
mail from this address, unless we have
questions on how to reproduce your bug, or implement your feature.
Please contact one of our other support channels (below) if you
require support.
For information on running servlets in any webserver, check here:
http://jserv.javasoft.com/products/java
75 matches
Mail list logo