Hi All,
i am using Tomcat4.1, and whenever i create new application i am adding the
context details in server.xml
Is it possible to create a new myapp.xml file and put the context info in
that.
I tried to create a myapp.xml and place it under webapps directory, but the
application is not finding
Hi,
I am using Tomcat4.1.30 version.
I have to develop a client application which looks in the database every 30
minutes,
to retrieve the status of an order and send the status to the remote client.
Again waits for the
The client's response and insert the repsonse back to the database.
I wanted
List
Subject: Re: How to run servlet for every 30 minutes in Tomcat 4.1.30
Shilpa Nalgonda wrote:
Hi,
I am using Tomcat4.1.30 version.
I have to develop a client application which looks in the database every
30
minutes,
to retrieve the status of an order and send the status to the remote
client
. I once wrote a shell script
that calls a http address on the local machine but cannot remember how ;) if
you are using oracle then you can setup this timer thread inside the
database itself. don't add a thread into your web application.
-Original Message-
From: Shilpa Nalgonda [mailto
Hi ,
I am using Tomcat 4.1.30, and using datasource to get the Connection from
Pool.
When there is an exception in the database operations, the trasaction is
supposed to rollback.
Is it automatically performed in Tomcat?
-
To
Hi ,
I am usinh ant deploy target to deploy my web application on Tomcat
4.1.30.
I have configured datasource to get the connection pooling for my webapp
in server.xml.
But whenever i do a ant deploy, the server.xml ia being backed up and a new
server.xml is created.
This new server.xml does
List
Subject: RE: Server.xml problem..
Hi,
Are you sure the information for your context isn't written to
conf/[engine]/[host]/rpcoemapi.xml instead of server.xml?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Monday
Can anyone suggest me how to write to different log files using JDK
Logging..
i.e., a logger for important info, a logger for errors, loggers for
systemerors,
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
://logging.apache.org/log4j/docs/
Viorel Dragomir
.
..
---
- Original Message -
From: Shilpa Nalgonda
To: Tomcat Users List
Sent: Tuesday, November 16, 2004 17:48
Subject: JDK Logging...
Can anyone suggest me how to write to different log
i have a ant script which has install target. this install target should
deploy my application , but is not happening, i have the below error in log
file. any advice?
java.lang.IllegalArgumentException: Document base C:\Program Files\Apache
Group\Tomcat 4.1\webapps\rpcoemapi does not exist or
Hi My Tomcat instance is so badly messed up , i am not able to start it...at
all...while i was redeploying my app , it gave me some email related classes
not found error...so i copied all the relevant jar into Tomcat/common/lib
directory...Then it gave me some other other, so to eliminate the
,
and also, get yourself a version control system, that way you won't lose
data :)
Filip
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 07, 2004 12:07 PM
To: Tomcat Users
is
different, on My PC instance i see that some of the field are encoded right,
but on Unix, evrything is inserted as . Both instances point to same
database and XMLRpc lib is same and Tomcat versions are same.
I am definitely missing something here. can someone please help
--- Shilpa
Hi,
I am using Tomcat4.1, Oracle 8i , and XmlRpc to write an application which
is supposed to take japanese characters an insert them into database. Is
there any setting in Tomcat4 where i should be giving the encoding option.
And aslo i get the request from the client in the form of xml and
can u point me to a resource how i can do it.
-Original Message-
From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 9:42 AM
To: Tomcat Users List
Subject: Re: Internationalization of characters --UTF8 encoding
.. is supposed to take japanese characters an
this UTF-8 encoded java String into ASCII so that database
can load it.
Can anyone suggest what to do...
--- Shilpa Nalgonda [EMAIL PROTECTED] wrote:
can u point me to a resource how i can do it.
-Original Message-
From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
Sent: Friday
: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 3:38 PM
To: Tomcat Users List
Subject: RE: Internationalization of characters --UTF8 encoding
Our java Application takes UTF-8 encoded unicode data and sores in a
Java String , and should insert that into Oracle8.1.7
. Once I put a finally block in with a
con.close() then it solved my problem.
Ta
Matt
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 20:04
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
how can i check that and how
I added some elements in web.xml on linux machine and i get this error, but
i cannot see any problem with web.xml, the same web.xml works fine on
windows...below is my web.xml...can someone please suggest
Sep 30, 2004 9:03:31 AM org.apache.commons.digester.Digester error
SEVERE: Parse Error at
: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 11:05 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Thanks.
Maybe its the parameter configuration can you send me your configuration for
connection pooling...
I am using these parameters
.
Read the Servlet Specification.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 12:47 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Is it necessary to add
Connection Pooling...
Hi,
The app runs fine because Tomcat tries to accommodate clueless users.
The web.xml snippet you posted is required according to the Servlet
Spec, and that's what you should adhere to.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda
your data source.
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: September 28, 2004 12:55 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
But my application runs fine even with out that entry in web.xml, i am using
Tomcats ConnectionPooling
I am using Oracle 8i, and Oracle drivers i use is Oracle111.jar, and use
DBCp for connection Pooling with Tomcat4.1,
i thought classes112 is for 9i...correct me if i am wrong...
-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 2:01 PM
To:
. You can even use the modern ojdbc14.jar
drivers.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 2:09 PM
To: Tomcat Users List; Peter Lin
Subject: RE: Tomcat 4.1 Connection Pooling...
I am
even use the modern ojdbc14.jar
drivers.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 2:09 PM
To: Tomcat Users List; Peter Lin
Subject: RE: Tomcat 4.1 Connection Pooling...
I am
and not
returning them to the pool?
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: 28 September 2004 19:43
To: Tomcat Users List; Peter Lin
Subject: RE: Tomcat 4.1 Connection Pooling...
I have updated with classes12.jar, but still i have this problem. But Peter
Hi i am not able to deploy the war file on Linux box , i am using
Tomcat4.1.30
The way i deploy it is, i copy the war file under tomcat/webapp directory...
And when i restart the server the war file is not being exploded...and i get
below error in logs...
2004-09-24 15:58:03
are running 9i. These are all system settings that can be found in smitty
on the system and adjusted as root user.
Hope this helps,
Cary
Shilpa Nalgonda [EMAIL PROTECTED] wrote:
Can someone please suggest how to achieve connection Pooling in tomcat 4.1.
As per the docs i have
1) configured server.xml
Can anyone give me advice on the set up of Tomcat4.1 connection pooling
parameters...
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 9:31 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi Cary,
I am running
Hi Yoav Shapira,
Can you put some light on this pooling stuff...
Thanks.
Shilpa.
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 9:31 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling...
Hi Cary,
I am running my
with Tomcat
5.0 and 5.5. Maybe I'm just lucky, but the docs (specifically the JDBC
DataSources how-to) have always worked for me out of the box. I've
never seen the error you describe.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL
your resource name is,
cast it to DataSource, getConnection.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 11:05 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1 Connection Pooling
On Wednesday 22 September 2004 03:28 pm, Shilpa Nalgonda wrote:
Hi,
My connection pool works if i set the removeAbandon parameter to true, but
i still do not understand why it works that way,
can someone suggest...can i use that parameter...
parameter
nameremoveAbandoned/name
the Connection is a poolable connection...
riginal Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 22, 2004 3:59 PM
To: Tomcat Users List
Subject: Re: removeAbandoned in DBCP
On Wednesday 22 September 2004 03:28 pm, Shilpa Nalgonda wrote:
Hi,
My
Logger cannot be created!
java.io.IOException: Couldn't get lock for OEMAPIXmlRpcLog.log
at java.util.logging.FileHandler.openFiles(FileHandler.java:361)
at java.util.logging.FileHandler.init(FileHandler.java:232)
at
Logger cannot be created!
java.io.IOException: Couldn't get lock for OEMAPIXmlRpcLog.log
at java.util.logging.FileHandler.openFiles(FileHandler.java:361)
at java.util.logging.FileHandler.init(FileHandler.java:232)
at
I am not able to deploy my application rpcoemapi on linux box, tomcat4.1.
When i copy rpcoemapi.war on tomcat webapps directory (
/usr/share/tomcat4/webapps/rpcoemapi.war ) and restart the server,
the war file is supposed to be exploded, but is not happeneing , insted i
found this error... any
-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 12:55 PM
To: Tomcat Users List
Subject: org.apache.commons.dbcp.SQLNestedException: Cannot get a
connection, pool exhausted, cause:
Hi, I am getting the timeout exception for connection pooling, i am using
Tomca 4.1
I am using these parameters : for Connection pooling... in Tomcat 4.1
maxActive :20
maxIdle :10
mxWait :1
removeAbandoned :true
My application makes 5 queries to the database at one time, so it calls
datasource.getConnection 5 times and closes connection 5 times..
When i run this application
Hi, I am getting the timeout exception for connection pooling, i am using
Tomca 4.1 and datasource to retrieve connections.
I am attaching all the soure code and configuration files used in my
application, please suggest where iam doing wrong...
SEVERE: getConnection()--SQLException
When i restart tomcat 4.1 server i am getting this error any clue of why we
get this...
Using CATALINA_BASE:
/usr/share/tomcat4
Using CATALINA_HOME: /usr/share/tomcat4
Using CATALINA_TMPDIR: /usr/share/tomcat4/temp
Using JAVA_HOME: /usr/local/j2sdk1.4.2_03
java.util.zip.ZipException:
the file permissions of all your .jar files. At least one of them
somewhere in your tomcat installation has bad permissions. The user
tomcat is running as needs read permission to all the jars.
--David
Shilpa Nalgonda wrote:
When i restart tomcat 4.1 server i am getting this error any clue
Thanks a lot jake it works.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 11, 2004 1:43 AM
To: Tomcat Users List
Subject: Re: at the tomcat start up...log4j error..
At 05:21 PM 9/10/2004 -0400, you wrote:
log4j:WARN No appenders could be found
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFact
ory, cause:
java.sql.SQLException: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=135286784)(E
RR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
parameters, or ask
your DBA if you're not sure.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 11:17 AM
To: Tomcat Users List
Subject: org.apache.commons.dbcp.SQLNestedException: Cannot create
: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 12:21 PM
To: Tomcat Users List
Subject: RE: org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory --help. using Tomcat4.1
But i use the same configuration and try to connect without using
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.D
igester).
log4j:WARN Please initialize the log4j system properly.
Starting service Tomcat-Standalone
I am getting the above error as the tomcat starts up, i hav elog4j.jar under
commom/lib and log4j.proprties
under
, August 25, 2004 1:23 PM
To: Shilpa Nalgonda
Subject: RE: java.security.AccessControlException: access denied
That's really curious. I'd try two things:
1) change the file permission to this:
permission java.io.FilePermission ALL FILES, read;
If that works, then there's a problem with the path
I am running Tomcat4.1.30 on windows 2000, with security option turned on.
My java application which is using JDK 1.4, connects to the the credit card
authorizing company called verisign, and returns the approval authorization
code.
I have installed the digital certificate on $TOMCAT_HOME\certs
I am running Tomcat4.1.30 on windows 2000, with security option turned on.
My java application which is using JDK 1.4, connects to the the credit card
authorizing company called verisign, and returns the approval authorization
code.
I have installed the digital certificate on $TOMCAT_HOME\certs
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 1:51 PM
To: [EMAIL PROTECTED]
Subject: java.security.AccessControlException: access denied
I am running
If certs is a file and not a directory, take off the \\- at the end
of the permission url.
Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
-Original Message-
From: Shilpa Nalgonda
this)?
Can you write a test JSP or servlet that reads a file out of that
directory?
Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
-Original Message-
From: Shilpa Nalgonda [mailto
the same error.
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 4:50 PM
To: Tomcat Users List
Subject: RE: java.security.AccessControlException: access denied
I am using -security option to run TC.
I am not quite sure about the syntax
of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 10:59 AM
To: Tomcat Users List
Subject: RE: application not working on unix.
Nope i di dnot make any cnages
I am using Tomcat4.0, mysql 4.0.18 , on Linux environment. And i am unable
to connect to mysql db. Below is the url
i am using in server.xml file. and also i have the jdbc driver under
WEB-INF/lib - mysql-connector-java-3.0.14-production-bin.jar...I was
successfully able to deploy the same
I have configured for datasouce on Tomcat 4.1.03 in
/TOMCAT_HOME/conf/server.xml file.
My application runs fine on my windows desktop.
Now i am in the process of migrating that applicATION ON lINUX MACHINE. On
Unix, we have apache installed as connector, which routes requests to Tomcat
server.
I am getting this error, what could be the reason...
2004-08-09 09:32:08 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: File /tags/struts-html not found
at
I am trying to deploy my prototype shoppingcart application onto linux
environment , i am using apache tomcat4.0.4, and struts 1.1. The same
application was deployed successfully on windows. I have copied
prototype.war into /var/lib/tomcat4/webapps.
restarted tomcat as /etc/init.d/tomcat4
Nope i di dnot make any cnages there...
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 11:52 AM
To: Tomcat Users List
Subject: Re: application not working on unix.
On Friday 06 August 2004 11:52 am, Shilpa Nalgonda wrote:
I am trying
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 11:53 AM
To: Tomcat Users List
Subject
I am getting this error when i start my Tomcat 4.0.4 insatance, with struts
application.
what exactly is this?
Aug 6, 2004 8:02:11 AM org.apache.commons.digester.Digester getParser
SEVERE: Digester.getParser:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission
files.
They are all downloaded together in one archive from the Struts site.
That should get you going.
--David
Shilpa Nalgonda wrote:
thanks, and i am using Struts
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 4:47 PM
To: Tomcat Users
and in
the various .war files you downloaded with the struts package.
Good luck.
--David
Shilpa Nalgonda wrote:
I did waht all is mentioned, but still i have one problem, radio button not
functioning properly.
when i select new user it will take me to shipping.jsp and if i select
returning usr radio
Hi i am getting the following error,
org.apache.jasper.JasperException: /CheckCustomer.jsp(36,67) equal symbol
expected
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:94)
at
value=new checked/
-Tim
Shilpa Nalgonda wrote:
Hi i am getting the following error,
org.apache.jasper.JasperException: /CheckCustomer.jsp(36,67) equal symbol
expected
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:94
, the checked attribute
doesn't exist in the API for the html:radio/ tag.
I'm guessing you want to set one of the radio buttons as a default. If
so, you'll have to do something different like set a default value in
the bean class when it's initialized.
--David
Shilpa Nalgonda wrote:
How to resolve
? I just need to know so I know
what to recommend.
I've got to run now and get my exercise. I'll check back later when I
get home.
--David
Shilpa Nalgonda wrote:
yeah, ur right i just want to select a default value for the radio button.
Radio button has two values a new user and a returning
org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol
expected
I am getting the above error, i am using struts tags in my BillingInfo.jsp.
Below is my BillingInfo.jsp...
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib uri=/WEB-INF/struts-html.tld
Subject: Re: jasper exception in jsp -- please help..
Hmm the jsp appears to be alright. What's in your
application.properties file for properties used in the html:errors/ tag?
Shilpa Nalgonda wrote:
org.apache.jasper.JasperException: /BillingInfo.jsp(1,16) quote symbol
expected
I am getting
in a place that should
have straight double quotes. I'm willing to bet it's a something really
small that didn't translate to your email post.
--David
Shilpa Nalgonda wrote:
this is my application.properties file..
==
# -- standard errors
I am using struts in my web application, My application is trying to create
a new user in the database when the user clicks on the submit button giving
teh user information.
And i am getting connection not found error. below is the error stack
trace...
WARNING: Unhandled Exception thrown: class
Can someone please help on this error...
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 11:03 AM
To: Tomcat Users List
Subject: getting Naming exception with struts...please help...
I am using struts in my web application, My
the original file for fancy curly quotes in a place that should
have straight double quotes. I'm willing to bet it's a something really
small that didn't translate to your email post.
--David
Shilpa Nalgonda wrote:
this is my application.properties file
a something really
small that didn't translate to your email post.
--David
Shilpa Nalgonda wrote:
this is my application.properties file..
==
# -- standard errors --
errors.header=UL
errors.prefix=LI
errors.suffix=/LI
errors.footer=/UL
# -- validator
-Original Message-
From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 5:16 PM
To: Tomcat Users List
Subject: RE: struts problem..action forward not working...pleasehelp...
I changed to success instead of result, but i have another problem
thanks it works
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 5:42 PM
To: Tomcat Users List
Subject: Re: why do we get ...javax.servlet.ServletException:
org/apache/jsp/result_jsp (wrong name:org/apache/jsp/Result_jsp)
From: Shilpa
I am not able to set up datasource for connection pooling , i am using
tomcat 4.1.3, and connection to mysql database..
following is the code to retrieve the datasource...
===
Context ctx
I have defined the resource in web.xml as below... and also defined the
datasouce resources under context in server.xml... even then it does not
help.. I get the same error org.apache.jasper.JasperException: Name
prototypedb is not bound in this Context
Web.xml
,
not in the Global Naming Resources, then you do not need the
resource-ref in web.xml, nor the ResourceLink mentioned below.
What code are you using to get to your connection? The JNDI lookup
should be to java:comp/env/jdbc/prototypedb, in your particular case.
Respectfully,
Brice Ruth
Shilpa Nalgonda
that sticks out to me, but I don't really
know what to make of it!
Shilpa Nalgonda wrote:
Below is the code i am using to get the connection,
and datasource...
Context ctx = new InitialContext();
Context env = (Context)ctx.lookup(java:comp/env
82 matches
Mail list logo