"Richard Sayre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thank you everyone for all the help I am getting. I have been doing
> some debugging and it seems that Tomcat is ok. As I stated earlier
> there is only one piece of code not working, I have other code that is
> succe
Good Evening Michele
if you take a look at /META-INF/context.xml
you'll have to custom define your own javax.servlet.context.tempdir
Pathname to a scratch directory to be provided by this Context
for temporary read-write use by servlets within the associated web
app
> From: RuiXian BAO [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat.conf JAVA_OPTS
>
> If so, why the -Xms and -Xmx were invented in the first place?
These date from the first JVMs (more than 10 years ago), when memory was
expensive, and garbage collection pause time was a function of the size
o
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Class not found exception help in 6.0.10?
>
> > From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
> > Subject: RE: Class not found exception help in 6.0.10?
> >
> > So since CATALINA_HOME/lib is a pa
Hello,
On 12/5/07, Rainer Jung <[EMAIL PROTECTED]> wrote:
>
> Caldarale, Charles R wrote:
> >> From: Rainer Jung [mailto:[EMAIL PROTECTED]
> >> Subject: Re: tomcat.conf JAVA_OPTS
> >>
> > I'd recommend not setting these unless you really know what's going on
> > inside your heap. It's usually mor
Delian Krustev wrote:
> Well, here we go. The problem appeared once again after the next restart.
Did it happen straight away or did it work for a while and then fail?
I am beginning to think that
http://svn.apache.org/viewvc?view=rev&rev=505593 introduced a subtle timing
issue. If Tomcat interna
Roberto Pellegrino wrote:
> DataSource defined on webApp context are accessed by similar url :
> java:comp/env/jdbc/dataSourceName.
> Now.
> Is't possible use with a url datasource that are only defined in
> GlobalNamingResources (in server.xml) using the name ???
In your META-INF/context.xml, a
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
> Subject: RE: Class not found exception help in 6.0.10?
>
> So since CATALINA_HOME/lib is a parent repository (and the
> code is definitely there), and since the problem does not
> manifest itself duringinit, this exception in the logs must
> not
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Class not found exception help in 6.0.10?
>
> > From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
> > Subject: RE: Class not found exception help in 6.0.10?
> >
> > Yes, a webapp initialization shoul
Thanks, Chuck.
We had considered concurrency as an issue. The string in question is entered
into a logging table - every request gets logged, and the log entry includes
a timestamp. So we know there was no other request in process concurrent.
Also, we're not using a Session object to store request-
> Get the request parameters from the request object from a page, concatenate
> them into a string, store the string in the db.
Do you url-encode the names and the values before concatenating them
into the string?
If not, there might be '&', '=' symbols in the value string that break
your parsing
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
> Subject: RE: Class not found exception help in 6.0.10?
>
> Yes, a webapp initialization should occur when Tomcat
> is started / restarted
So the problem you see once a week occurs only when you start Tomcat?
How do you resolve the situation -
> From: Bob Riaz [mailto:[EMAIL PROTECTED]
> Subject: Request parameters incorrect
>
> The parameters we find in this string come from 3
> different pages! We're baffled!!
This is pretty much always a problem with incorrect scoping or
synchronization in the webapp. For example, code processing
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Class not found exception help in 6.0.10?
>
> > From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
> > Subject: RE: Class not found exception help in 6.0.10?
> >
> > once a week or so we'll get a Class
Hello all,
We're using the following:
Java 5.0
Tomcat6.0
SQL Server 2000
Our webapp does the following:
Get the request parameters from the request object from a page, concatenate
them into a string, store the string in the db. When we retrieve the string
from the db, we know what parameters to
It is "No such file or directory".
> I can't find what errno 2 represents.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm using single-signon between two webapps, and it works nicely.
However, when a logout.jsp page in one webapp does session.invalidate(),
it only invalidates the session on one webapp.
How do I invalidate _both_ sessions in one go?
[Tomcat 5.5.16, IBM Java 1.4.2 on RHEL4]
Regards, Upayavir
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
> Subject: RE: Class not found exception help in 6.0.10?
>
> once a week or so we'll get a Class Not Found exception
>
> SEVERE: Exception starting filter security
> java.lang.ClassNotFoundException:
> com.emn8.console.common.SecurityFilter
>
Thank you everyone for all the help I am getting. I have been doing
some debugging and it seems that Tomcat is ok. As I stated earlier
there is only one piece of code not working, I have other code that is
successfully getting data from the server.
Here is what I found out using Ethereal:
1) I
Isn't is obvious? Why do you expect it to become "value2"?
What are you changing? Are you changing the source code for the class?
I do not expect hot-swapping of compiled classes to be available here.
If it is the same class instance, it will still be "value". Restart
your webapp, or reload your
that looks like a valid request, there most be something else in the
data sent over that breaks it
there is only one place where tomcat checks for this, its in the
Http11Processor
you should be able to turn on the debug to get the actual data that
tomcat is trying to parse
put
org.apache.coy
i agree with chuck's suggestion of using ethereal
another tool which will help determine who or what is changing protocol is
fiddler so you can examine the request and response
http://www.fiddlertool.com/fiddler/
You might want to tracert and
use fiddler to see which (intervening) node is changing
> From: Albretch Mueller [mailto:[EMAIL PROTECTED]
> Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
>
>
> directory="C:\cmllpz\prjx\java\GWB\logs"
> prefix="tc-6.0.14-FileUpload_log."
> suffix=".txt"
> timestamp="true"/>
>
>
> However I still don't see that tc
Thanks for your reply, Chuck.
> -Original Message-
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 05, 2007 10:42 AM
> To: Tomcat Users List
> Subject: RE: Class not found exception help in 6.0.10?
>
> > From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
>
> From: Edmund Mitchell [mailto:[EMAIL PROTECTED]
> Subject: Class not found exception help in 6.0.10?
>
> We drop our simple webapp jar (just one) in
> $CATALINA_HOME/lib.
First question: why are you putting a webapp jar in Tomcat's lib
directory? It belongs in the webapp's WEB-INF/lib.
> onc
Read the excellent FAQ, and well as the classloader how-to for Tomcat 6.
We drop our simple webapp jar (just one) in $CATALINA_HOME/lib. Our class
that implements Filter is in that jar, and the app can't function without
that class -- it handles every request.
99.99% of the time, all is well, bu
> From: Richard Sayre [mailto:[EMAIL PROTECTED]
> Subject: Re: HTTP 1.1 Not Supported
>
> Here is the exact String exported from the packet:
>
> POST /test/sync/upload.jsp?username=test1 HTTP/1.1
> Content-Type: text/xml
> Content-Length: 4005
> Connection: Keep-Alive
> Expect: 100-continue
> Ho
> From: Propes, Barry L [mailto:[EMAIL PROTECTED]
> Subject: RE: HTTP 1.1 Not Supported
>
> if the PPC won't accept the Coyote Connector, I don't know
> what path you can take to rectify that.
The Pocket PC is not rejecting the response, it's Tomcat that's
rejecting the Pocket PC request and se
so it sounds like one was using a Coyote Connector and not the other, which if
you said you were on 4.0 -- even a pre - 4.1 version doesn't use the Coyote
Connector. It made no difference for me when I changed from 4.0 to 4.1 but if
the PPC won't accept the Coyote Connector, I don't know what pa
I think via a lookup to an LDAP reference, but you have to know that LDAP group
from your administrator.
-Original Message-
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 05, 2007 11:52 AM
To: Tomcat Users List
Subject: Single Sign-On
Hello everybody!
I have two
The Pocket PC is sending XML data to Tomcat. The XML contains all of
the changes made to the data on the Pocket PC.
On Dec 5, 2007 2:38 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Richard Sayre [mailto:[EMAIL PROTECTED]
> > Subject: Re: HTTP 1.1 Not Supported
> >
> > > And what
On Dec 5, 2007 2:28 PM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> did you verify protocol is set to HTTP 1.1 (at least not set to 1.0)
> default non-ssl connector in $CATALINA_HOME/conf/server.xml?
This is my non ssl connector in server.xml:
The ssl connector is commented out.
> did you ver
> From: Richard Sayre [mailto:[EMAIL PROTECTED]
> Subject: Re: HTTP 1.1 Not Supported
>
> > And what does the access log (or Wireshark trace) show as
> > being sent by the app on the Pocket PC?
> >
> Using Ethereal I found that Tomcat is sending this error back to my
> Pocket PC application:
No
Thanks Filip!
You are absolutely correct... two second fix and
everything is working now. Perfect, thank you so
much!
--- Filip Hanik - Dev Lists <[EMAIL PROTECTED]>
wrote:
> you've set an incorrect filter
>
>
.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;*\.pdf;\*.jsp;
>
Here is the exact String exported from the packet:
POST /test/sync/upload.jsp?username=test1 HTTP/1.1
Content-Type: text/xml
Content-Length: 4005
Connection: Keep-Alive
Expect: 100-continue
Host: 192.168.1.116
On Dec 5, 2007 2:29 PM, Richard Sayre <[EMAIL PROTECTED]> wrote:
> The spacing seems to
On Dec 5, 2007 2:22 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Richard Sayre [mailto:[EMAIL PROTECTED]
> > Subject: HTTP 1.1 Not Supported
> >
> > 2. The pocket pc app tries to obtain a Response object
> > from the request
> > 3. On the line of code that tries to obtain a respons
did you verify protocol is set to HTTP 1.1 (at least not set to 1.0)
default non-ssl connector in $CATALINA_HOME/conf/server.xml?
did you verify that Port 80 redirects to connector configured for 8084?
did you verify the connector is live and listening on 8084?
are there any other intervening webse
The spacing seems to be ok. I request several pages using the C#
object. The only time I get that error is when I write some data to
the request before I get the response. Here is the request String:
POST /test/sync/upload.jsp?username=test1 HTTP/1.1
On Dec 5, 2007 2:17 PM, Dwebb <[EMAIL PROT
> From: Richard Sayre [mailto:[EMAIL PROTECTED]
> Subject: HTTP 1.1 Not Supported
>
> 2. The pocket pc app tries to obtain a Response object
> from the request
> 3. On the line of code that tries to obtain a response
> I get a server error
Are you referring to the app running on the Pocket PC o
Hello everybody!
I have two applications:
- J2EE Application on tomcat
- Microsoft Navision
How can I implement single sign-on integrated with Microsoft Active Directory?
Microsoft Active Directory could be central autenthication service?
Thanks
-
Hi,
You might want to check the Request line in a tcp capture. We have run
into a problem recently with the new tomcat bundles that do very strict
checking of the request line.
It has to be formatted METHOD SPACE REQUEST_URI SPACE VERSION (ie
POST /test HTTP/1.1). if there are more than one spa
I have a C Sharp Pocket PC application that is hitting a Tomcat web
server and getting some data from that server. With Tomcat 4.1 this
application is working fine, but since I upgraded to Tomcat 6 it
stopped working.
Most of the application works with Tomcat 6. When It does work here
is the sce
you've set an incorrect filter
.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;*\.pdf;\*.jsp;
should be
.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;.*\.pdf;
two changes
a) corrected your PDF filter
b) removed JSP (they modify the session don't they? if they
Hi,
I don't see the point of your request, to be honest.
Not deleting the deployment context prior redeployment will give you all kinds
of funny other problems, like jar files you incorporate with version numbers in
the name (commons-logging-102.jar and commons-logging.jar). Suddenly BOTH will
you've set an incorrect filter
.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;*\.pdf;\*.jsp;
should be
.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;.*\.pdf;
two changes
a) corrected your PDF filter
b) removed JSP (they modify the session don't they? if they
I'll give my example. I have one war file that I'm trying to deploy to
multiple environments where the only difference is the database (I have
other environment specific properties in a database table). On top of that,
I don't know the user/password for the production environment, so I wouldn't
JNDI was designed for DB access with and without schema classification
once you have a connection you can always alter your session to take a
schema
ALTER SESSION SET SCHEMA = schema_name
M--
- Original Message -
Wrom: NHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXI
To:
Sent: Wednesday, December 05
The schema name is not required in general.
Speak to your DBA about creating a public synonym for the package.
Ed
On 12/5/07, khalid syed <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to call a stored procedure defined within a package in Oracle
> database from my servlet using java.sql.Calla
> From: Dmitry S. Kravchenko [mailto:[EMAIL PROTECTED]
> Subject: How to enable logging correctly in Tomcat 5.5?
>
> I have tried to place logger directive within host tag within
> server.xml file.
elements are not used in Tomcat 5.5 and above, as documented
here:
http://tomcat.apache.org/tomc
Hi,
I am trying to call a stored procedure defined within a package in Oracle
database from my servlet using java.sql.CallableStatement
The connection is established using JNDI.
I get the error:
PLS-00201: identifier '' must be declared
However, the procedure gets executed when I try calling it w
Hi all,
This is the catalina.out. I read the post about session expiration
during shutdown, so I tried to kill -9 the process to avoid any
unexpected behavior but the outcome is the same, no session replication.
What I may do? I appreciate any suggestion. Thanks!
INFO: Starting Servlet Engine: A
setting up Tomcat Datasource information such as the response juha supplied
is correct
You always have the option of connecting straight in without looking up the
DataSource parameters
but you would have to supply all necessary parameters such as user,pass and
driver for example
if ( c_Dri
Dear all,
I am usging Apache-Tomcat 5.5.20 and Axis 1.2 RC.
I am invoking the web services method by my java client program.
In SoapBindingImpl class i have written a Implementation method
sendAndReceive().
sendAndReceive method code is --
public String sendAndReceive(String sRequest, S
> > Really? From your other message, you make it look like Java is taking
> > something like 1GB of memory. Sure, the JVM adds some overhead to the
> > heap size you configured, but it shouldn't be more than 5% or 10%...
> > nothing like 200%.
It could be more that 200% depending on the heap size
> I have a folder in my application which I would like to deploy in a
> separate sub context. This is because it includes content media, and is very
> large to include in the "main" application "war" every time I deploy it.
You have not mentioned your Tomcat version.
That media is just a
In my application is present a interface (visible only to admin) who
permit to specificate what kind of db connection use to make query:
- DataConnection --> url, user, pass, driver. If the data are correct it
work.
- DataSource --> If data source are defined on webApp context the name
is the l
> I have seen the documentatio many and many times...
> My question is clear? The response to my question is:
> "Isn't possible get dataSource reference if is not defined on webApp
> context"...
Yes, it is not possible.The reference should be defined
(either in context.xml, or in web.xml, but it s
I have seen the documentatio many and many times...
My question is clear? The response to my question is:
"Isn't possible get dataSource reference if is not defined on webApp
context"...
This is a limitation if application expose a method to make query in
varius and dinamic datasource
Only p
Hi Christopher,
> Nope. You'll have to write it yourself. fortunately, It's fairly simple
> to write. Never written a Filter before? Just read the javadoc for the
> Filter interface and it should all be clear.
Thanks a lot. I'll check it out.
>
> - -chris
>
cheers,
--
--
:: Breno Jacint
Hello All,
I am new to this list, but couldnt find anything about this topic:
I have a folder in my application which I would like to deploy in a
separate sub context. This is because it includes content media, and is very
large to include in the "main" application "war" ev
Jing Chen wrote:
Hello,
I have two applications installed at two different Tomcat 5.5 on the
same box, and I want to setup IIS to redirect for both applications.
Is it possible? Can I define two ajp13 workers? Here is my current
workers2.properties which on can redirect to one application:
Y
Hi!
I'm switched to Tomcat 5.5 from Tomcat 4 and now I cant understand, how to
enable logging.
I want the following thins to be logged:
1) Invalid URLs
2) my exceptions,
3) test printouts and etc.
How to do it?
I have tried to place logger directive within host tag within server.xml
file. I h
Caldarale, Charles R wrote:
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat.conf JAVA_OPTS
c. wrote:
I'm wondering what the JAVA_OPTS -Xminf0.1 and
-Xmaxf0.3 are. Anyone know?
MinHeapFreeRatio and MaxHeapFreeRatio (divided by 100).
I'd recommend not setting these unless you
Eric B. wrote:
> I have submitted the bug & patch to Bugzilla
> (http://issues.apache.org/bugzilla/show_bug.cgi?id=44021). However, I am
> not 100% sure that my patch is in the right format/etc. Can you take a
> quick look at it and let me know if it is submitted properly?
Format looks good.
64 matches
Mail list logo