i want to migrate an application from tomcat 4.x to tomcat 6.x, what are the
necessary steps that i have to make to make my application working.
thanks in advance.
--
View this message in context:
http://www.nabble.com/migrate-an-application-from-tomcat-4.x-to-tomcat-6.x-tp17552319p17552319.ht
--
View this message in context:
http://www.nabble.com/migrate-an-application-from-tomcat-4.x-to-tomcat-6.x-tp17552306p17552306.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-ma
Hi chris,
thanks for your reply!
Christopher Schultz-2 wrote:
>
> Martin,
>
> MartinV wrote:
> | Hi list,
> | I've got a task to solve and I don't have any clue where to start.
> Here's
> | the chain for delivering a resource like a JSP file to client.
> |
> | 1)Client => 2)Request => 3)Modify
i am using tomcat 6 when i make some changes in class and put the class in
server then changes not show in page i have to restart tomcat to show the
change.
Please give some solution so i dont need to restart tomcat after every
change?
--
View this message in context:
http://www.nabble.com/t
See below what I did. This works for me and no one offered any reasons not
to do it this way so marking it as a solution.
Thanks,
Chris
-Original Message-
From: Chris Richmond [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2008 10:08 AM
To: 'Tomcat Users List'
Subject: RE: accessing
Bas Schulte wrote:
Hi,
I tend to agree with both you and Chuck. However... ;)
We're on a budget so separate servers is a no-op. Running multiple
instances of Tomcat, with it's own start/stop script and it's own
location for config files/libs etc. won't allow me to continue using
debian's pac
HI,
I am new to tomcat / struts . Trying my hands on it . I am getting this
error when i try to access my jsp page. Here is what I did
1. Created a logon folder inside the webapps folder
2. wrote the logon.jsp and put it inside logon folder.
2. created a subfolder WEB-INF.
3. created a web.xml
Hi again,
I modified the element in the $CATALINA_HOME/conf/context.xml to
and
removed the element in the
$CATALINA_HOME/conf/server.xml file, and now it's not throwing any error.
But I still can't retrive from a one instance the attributes set in
ServletContext in another instance.
Any su
Hi,
I tend to agree with both you and Chuck. However... ;)
We're on a budget so separate servers is a no-op. Running multiple
instances of Tomcat, with it's own start/stop script and it's own
location for config files/libs etc. won't allow me to continue using
debian's package management (
Thanks a lot guys for your prompt response.
Now I face another error given below:
SEVERE: Unable to start ReplicatedContext
java.lang.ClassCastException:
org.apache.catalina.cluster.tcp.SimpleTcpCluster
at
org.apache.catalina.ha.context.ReplicatedContext.start(ReplicatedContext.java:61)
you'd need to define
Hi guys, I am configuring Tomcat 6 clustering to have more than one instance
access to each others ServletContext attributes. It's said that
ServletContext is clustered by default when Tomcat 6 is clustered, but my
servlets in 2 different instances are not able to access ea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
MartinV wrote:
| Hi list,
| I've got a task to solve and I don't have any clue where to start. Here's
| the chain for delivering a resource like a JSP file to client.
|
| 1)Client => 2)Request => 3)Modify Resource => 4)Normal Handling like
|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bas,
Bas Schulte wrote:
| I'd like to deploy my Spring-based webapp twice in the same Tomcat
| instance, one for production and one for development.
I agree with Chuck: you are asking for trouble with a production
configuration that includes develop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gangadhar,
gangadhar p wrote:
| Hi guys, I am configuring Tomcat 6 clustering to have more than one
instance
| access to each others ServletContext attributes.
It's not going to happen. See the servlet specification:
"
SRV.4.4.1 Context Attributes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Mike wrote:
| I'm trying to set up connection pooling for Tomcat 5.5 but it
| doesn't work. When I start Tomcat, it shows in the Catalina log this:
|
| SEVERE: Exception loading sessions from persistent storage
|
| java.io.WriteAbortedExceptio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Richmond wrote:
| Well after I added that entry, I realized I don't have access to any
context
| information/classes since this is just a plain JAX-WS web service and
not a
| web application, so it is not using the JSP/JSR technologies.
Hi Chris,
David,
David Fisher wrote:
| Maybe you should try changing the redirect port for TC2 to 8444.
Why?
| There should not be a redirect port for AJP/1.3
Why not?
I agree that the OP should really simplify his or her configuration,
but
you seem to be stabbing in the dark with sugges
Hi guys, I am configuring Tomcat 6 clustering to have more than one instance
access to each others ServletContext attributes. It's said that
ServletContext is clustered by default when Tomcat 6 is clustered, but my
servlets in 2 different instances are not able to access each others
ServletContex
maybe you can get what you need here?
http://developers.sun.com/product/jdbc/drivers
-Original Message-
From: Martin [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2008 3:02 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5 and Database Connection Pooling
Hi Mike-
TC 4.1 uses JDK 1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Fisher wrote:
| Maybe you should try changing the redirect port for TC2 to 8444.
Why?
| There should not be a redirect port for AJP/1.3
Why not?
I agree that the OP should really simplify his or her configuration, but
you seem to be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karthik,
karthikn wrote:
| >>Using this configuration, TOMCAT2 will never start up.
|
| I am confused
| TC1
|
|
| redirectPort="8443" />
|
|
| TC2
|
|
| redirectPort="8443" />
|
This does not reflect the configuration you posted last time
Ok,
Here is what I did that works.
In my web.xml I have this entry right inside my web-app parent element:
myvalue
chris was here
java.lang.String
Then from any class within my JAX-WS web service package structures I
include the following:
import javax.nami
Hi Mike-
TC 4.1 uses JDK 1.4 so check the signature of the JDBC-ODBC Bridge e.g.
javap JDBCODBC.class
TC 5.5 of course uses JDK 1.5 which wont work the old JDK1.4 unless you load
in the 1.4 compat package
http://tomcat.apache.org/download-55.cgi
intersolv is no more since DataDirect bought th
Mike wrote:
Hello,
When I clean out the work directory, it doesn't show the
serializable error message. However, the second time I run it, it does show
it.
I was able to have the JDBC-ODBC Bridge work in Tomcat 4.1, so why shouldn't
it work with 5.5?
You are trying to seri
not sure, as many improvements were made to 5.5. That could partly be why, but
if you're using that sun jdbc odbc driver, like Chuck said, it's basically
worthless.
Get a real driver.
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2008 2:05 PM
To: users@t
Hi list,
I've got a task to solve and I don't have any clue where to start. Here's
the chain for delivering a resource like a JSP file to client.
1)Client => 2)Request => 3)Modify Resource => 4)Normal Handling like
JSP-Compiling => 5)Response => 6)Client
I need to modify the needed resource befo
> From: Bas Schulte [mailto:[EMAIL PROTECTED]
> Subject: Configuring one webapp in 2 instances, system properties
>
> I'd like to deploy my Spring-based webapp twice in the same Tomcat
> instance, one for production and one for development.
I strongly recommend that you don't do that - separate yo
Hello,
When I clean out the work directory, it doesn't show the
serializable error message. However, the second time I run it, it does show
it.
I was able to have the JDBC-ODBC Bridge work in Tomcat 4.1, so why shouldn't
it work with 5.5?
Mike
Hi,
I'd like to deploy my Spring-based webapp twice in the same Tomcat
instance, one for production and one for development.
To configure my webapp, these distinct environments connect to
different database schema using different username/password combo's.
My spring configuration gets thi
Hi-
Another reasonable approach would be to set system properties either in
the startup script or in the Windows registry if you're running as a
service.
-Terence M. Bandoian
>>> Subject:
>>> Re: accessing web.xml
>>> From:
>>> Christopher Schultz <[EMAIL PROTECTED]>
>>> Date:
>>> Thu, 29 May 2
Christopher,
Well after I added that entry, I realized I don't have access to any context
information/classes since this is just a plain JAX-WS web service and not a
web application, so it is not using the JSP/JSR technologies. That is my
understanding anyway. So my question is, if that is the c
The default webpage does belong to the default application (the name
of that application is ROOT). If ROOT application is not deployed on
the server, there is no default page to be displayed.
See also,
http://wiki.eclipse.org/WTP_Tomcat_FAQ#If_I_start_my_Tomcat_server_and_try_to_display_Tomcat.27s
EXACTLY!!! I learned this very early before dipping into a connection pool
config, and I can't imagine that it would come close to working with a DBCP
configuration.
Find out what type 3 or 4 JDBC driver you need and get the proper jar file that
contains it.
-Original Message-
From:
> From: Mike [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5 and Connection Pooling
>
> SEVERE: Exception loading sessions from persistent storage
Clean out Tomcat's work directory and see if that problem goes away.
> My java code shows the error message that it "Cannot create
> JDBC driver of cl
Looks like your container is attempting to serialize/deserialize
Do those classes implement Serializable?
(also..keep in mind A no-arg constructor must be accessible to any subclass
that is serializable.)
Martin
- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To:
Sent: Thursda
Hello Group,
If I start tomcat 6.0 from my eclipse IDE, then I am not able to see the
default page for tomcat server, which sits at
http://localhost:8080. In this case both browsers IE and Firefox give 404
status errors.
However if I start the server independently then I am able to see the
defa
Dan Ciarniello wrote:
Dan Ciarniello wrote:
According to the Jasper documentation at
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html,
"Jasper 2 can now detect when a page included at compile time from a
JSP has changed and then recompile the parent JSP."
but this does not seem to
Hi -
I'm a bit of a hacker with server.xml, but your problem is with
duplicate ports so look at ALL port usage in both server.xml files.
Maybe you should try changing the redirect port for TC2 to 8444.
There should not be a redirect port for AJP/1.3
Do you define an HTTPS connector? If not,
Hello,
I'm trying to set up connection pooling for Tomcat 5.5 but it
doesn't work. When I start Tomcat, it shows in the Catalina log this:
SEVERE: Exception loading sessions from persistent storage
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableExceptio
1) What is in your worker.properties file?
2) The following lines in Apache log:
[Thu May 29 20:25:56 2008] [1264:2008] [info] jk_connect.c (566):
connect to 10.10.16.63:8009 failed (errno=61)
mod_jk tries to connect to 10.10.16.63. Is the IP address correct?
In the worker.properties that you po
Sierk Schmittner wrote:
Hi,
I want to implement a server push mechanismus with Tomcat 6/Comet.
The use case is that a javascript client sends an AJAX request to the
server. The server is performing some internal asynchronous tasks (in
seperate threads). The result of these tasks should be pushe
Hi
>>Using this configuration, TOMCAT2 will never start up.
I am confused
TC1
redirectPort="8443" />
TC2
redirectPort="8443" />
Yes I am able to start both TOMCATS on Ports 8081 /8082 configurations
in server.xml
am i still missing anything in here.
with regards
ka
Hi Mark,
Mark Smits wrote:
One of our customers installed 5.5.26 and got into trouble when trying to
upload a war file. The following exception occurs:
java.lang.NoClassDefFoundError:
org/apache/commons/io/output/DeferredFileOutputStream
at
org.apache.commons.fileupload.DefaultFileItemFactory.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johann,
Johann Siegele wrote:
|> You have to run OS and browse in kiosk mode. Tomcat has nothing to it.
|
| I want to build a server with tomcat which no user can change.
No user at all? This is not possible, since root/Administrator can
always chan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karthik,
karthikn wrote:
| Tomcat 1 is on c:/TOMCAT1 on startup port - 8081
|
|
| Tomcat 2 is on d:/TOMCAT2 on startup port - 8082
|
Are you sure?
| TOMCAT1 >> .server.xml is as follows
|
|
| redirectPort="8443" />
|
|
This configuration
Dan Ciarniello wrote:
According to the Jasper documentation at
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html,
"Jasper 2 can now detect when a page included at compile time from a
JSP has changed and then recompile the parent JSP."
but this does not seem to work, at least not when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Richmond wrote:
| I have created a web service using JAX-WS and deployed my .war and it runs
| fine, but now I want to convert some hard-coded config values to read
values
| from the WEB-INF/web.xml file that was created/deployed.
Sound
Hi
Ok I have modified the changes as below
Tomcat 1 is on c:/TOMCAT1 on startup port - 8081
redirectPort="8443" />
Tomcat 2 is on d:/TOMCAT2 on startup port - 8082
redirectPort="8443" />
TOMCAT1 >> .server.xml is as follows
redirectPort="8443" />
TOMCAT2 >> .server.xml is as fol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Stavrinides wrote:
| Unfortunately, you did not understand or have missed the point... its
| not about forgoing coded checks, the key point here is to manage data
| security in a more efficient way.
If you say so. Where you see efficien
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Law wrote:
| Thanks Andrew & Chris Currently testing in 6.0.14 and the memory
| usage seems a lot more stable (probably a placebo affect). In 6.0.16
| both the young/old generation heap usage would increase to 99.xx% and
| stay there, no
Yes, it is OK for all operating systems.
2008/5/29 maux <[EMAIL PROTECTED]>:
>
> Hi Konstantin,
>
> That´s exactly what i wanted. But if I used
> "System.getProperty("catalina.home")", that is ok for windows and for linux
> Tomcat installation or is it only valid for windows?
>
> Thank you very m
Hi Konstantin,
That´s exactly what i wanted. But if I used
"System.getProperty("catalina.home")", that is ok for windows and for linux
Tomcat installation or is it only valid for windows?
Thank you very much.
Konstantin Kolinko wrote:
>
> The answer is correct as a direct match to the questio
>
>
>
> See this thread:
> http://marc.info/?l=tomcat-user&m=120764191619768&w=2
>
Thanks for the link. I did search bugzilla, but nothing turned up when
searching the class name. So just adding the jar will suffice.
Hi there,
i have to use SSL with client auth for my webservice running on tomcat
5.5 using axis2. The Problem is, that i have to validate the client
certificates using some customized classes.
I tried to write a custome TrustManager, TrustManagerFactory and a
Provider returning registering (
Hi Mark-
the error seems to come from commons-fileupload package..
I would ping the maintainers and build manager for commons-fileupload at
http://commons.apache.org/fileupload/mail-lists.html
Thanks!
- Original Message -
From: "Mark Smits" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May
> From: Mark Smits [mailto:[EMAIL PROTECTED]
> Subject: Missing jar in 5.5.26 - Looking for the easiest way out
>
> Should I recommend downloading and installing 5.5.25 or can I
> just download commons-io and put it next to commons-fileupload.
See this thread:
http://marc.info/?l=tomcat-user&m=120
Thanks for your help!
i guess i found the HINT: "embedded Tomcat"
Kiosk mode was just an example, i will not run tomcat on a kiosk machin!
2008/5/29 Mikolaj Rydzewski <[EMAIL PROTECTED]>:
> Kristian Rink wrote:
>
>> Johann;
>>
>> Johann Siegele schrieb:
>>
>>
>>> I know that! this was just an ex
Kristian Rink wrote:
Johann;
Johann Siegele schrieb:
I know that! this was just an example of that what i want to do with tomcat.
I want to build a server with tomcat
which no user can change. this server should run tomcat, and just my
services (servlets), no user should be able to change
an
One of our customers installed 5.5.26 and got into trouble when trying to
upload a war file. The following exception occurs:
java.lang.NoClassDefFoundError:
org/apache/commons/io/output/DeferredFileOutputStream
at
org.apache.commons.fileupload.DefaultFileItemFactory.createItem(DefaultFileItemFact
Johann;
Johann Siegele schrieb:
> I know that! this was just an example of that what i want to do with tomcat.
> I want to build a server with tomcat
> which no user can change. this server should run tomcat, and just my
> services (servlets), no user should be able to change
> anything.
Consider
which security breach does your algorithm seek to detect or prevent..
HTML/JavaScript code injection?
http://aranea.zuavra.net/index.php/66/#ig-4
?
Martin-
- Original Message -
From: "Peter Stavrinides" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, May 29, 2008 5:58 AM
S
> You have to run OS and browse in kiosk mode. Tomcat has nothing to it.
I know that! this was just an example of that what i want to do with tomcat.
I want to build a server with tomcat
which no user can change. this server should run tomcat, and just my
services (servlets), no user should be abl
Hi,
I want to implement a server push mechanismus with Tomcat 6/Comet.
The use case is that a javascript client sends an AJAX request to the
server. The server is performing some internal asynchronous tasks (in
seperate threads). The result of these tasks should be pushed asynchronous
to the clie
Johann Siegele wrote:
this is just an informal question.
Is it possible to run Tomcat in a kind of Kiosk mode.
My Aim is, to provide a Tomcat which should run as server for a service and
no user can change anything. The user should not be able to deploy anything
or to change any settings
You
Hi,
this is just an informal question.
Is it possible to run Tomcat in a kind of Kiosk mode.
My Aim is, to provide a Tomcat which should run as server for a service and
no user can change anything. The user should not be able to deploy anything
or to change any settings.
Thanx for your help!
m
Hi Chris,
The crunch of your argument:
>I would argue that your data protection should occur at the business
>layer.
...
>Adding a single layer of "security" should not be considered a
>replacement for code and security reviews, unit testing, and user-level
>testing.
Unfortunately, you did not u
Ingo Siebert wrote:
JNDI is an additional complexity to my app. It feels wrong to use JNDI
only to get a simple file path or a base file path.
I primary configuration values are many but simple string values like
a JDBC-URL or JDBC-Options. I think the complete abstraction of the
DataSource is
After updating tomcat from 4.1 to 5.5 the problem disappeared so it might have
been the bug you mentioned.
"Just a shot in the dark (since you are using somewhat old versions of
everything): there was a bug in java.io.File.deleteOnExit() that lead to
a leak in native memory. This problem hit
Thanks Andrew & Chris
Currently testing in 6.0.14 and the memory usage seems a lot more stable
(probably a placebo affect). In 6.0.16 both the young/old generation heap usage
would increase to 99.xx% and stay there, now both the eden and old heaps are
increasing and decreasing.
Though the java c
Mikolaj Rydzewski wrote:
> Ingo Siebert wrote:
>> I see one additional problem. If I deploy two different versions of
>> the web app on the same tomcat, it is not possible configurate them
>> separately.
>>
>> That's important for me, because I have only a limited number of
>> servers and I have t
Gregory Gerard wrote:
However, I lost all the headers that allow the browser to cache the
contents.
Really?
response.addHeader();
Expires, Cache-control, Last-Modified, etc.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
-
To star
I will be out of the office starting 29/05/2008 and will not return until
02/06/2008.
In my absense, please contact Alan Patterson or Laszlo Tovari.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mai
72 matches
Mail list logo