Re: WAR created on tomcat 6.0 -Executed on Tomcat 5.5

2008-04-16 Thread Hassan Schroeder
On Wed, Apr 16, 2008 at 9:30 AM, Computerjuice <[EMAIL PROTECTED]> wrote:

>  ...is there compatibility between tomcat 5.5 and tomcat 6.0?

They support different versions of the servlet/jsp specs -- what are
you specifying in your deployment descriptor?

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WAR created on tomcat 6.0 -Executed on Tomcat 5.5

2008-04-16 Thread Mark Thomas

Computerjuice wrote:

I have developed a web application using netbeans and Tomcat 6.0. I have
deplyed the resulting WAR file to a website Host server that is running
Tomcat 5.5. However the JSTL tags are displayed instead of the exposing the
database contents. The application uses a connection pool to connect to the
database. Yes my code works fine because it all worked in the development
environment. Now for my question, is there compatibility between tomcat 5.5
and tomcat 6.0?


Yes and no.

Tomcat 6.x implements version 2.5 of the servlet spec and version 2.1 of 
the JSP spec.
Tomcat 5.x implements version 2.4 of the servlet spec and version 2.0 of 
the JSP spec.


Whilst a 2.4/2.0 app will run quite happily in a 2.5/2.1 environment, the 
reverse is not true.


Mark


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WAR created on tomcat 6.0 -Executed on Tomcat 5.5

2008-04-16 Thread David Smith
Check your war file for the existence of standard.jar and jstl.jar in 
WEB-INF/lib.  I'll bet at least standard.jar is missing if not both of them.


--David

Computerjuice wrote:

I have developed a web application using netbeans and Tomcat 6.0. I have
deplyed the resulting WAR file to a website Host server that is running
Tomcat 5.5. However the JSTL tags are displayed instead of the exposing the
database contents. The application uses a connection pool to connect to the
database. Yes my code works fine because it all worked in the development
environment. Now for my question, is there compatibility between tomcat 5.5
and tomcat 6.0? 


Development Tools:

Netbeans: 6.0 
Tomcat: 6.0.14 
Java: JSE 6
Ant: 1.7.0 



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WAR created on tomcat 6.0 -Executed on Tomcat 5.5

2008-04-16 Thread Computerjuice

So aside form installing Tomcat 6 is there a way round this compatibility
issue. ie is there a way that a Tomcat 6.0 WAR could be made to function in
tomcat 5.5.



markt-2 wrote:
> 
> Computerjuice wrote:
>> I have developed a web application using netbeans and Tomcat 6.0. I have
>> deplyed the resulting WAR file to a website Host server that is running
>> Tomcat 5.5. However the JSTL tags are displayed instead of the exposing
>> the
>> database contents. The application uses a connection pool to connect to
>> the
>> database. Yes my code works fine because it all worked in the development
>> environment. Now for my question, is there compatibility between tomcat
>> 5.5
>> and tomcat 6.0?
> 
> Yes and no.
> 
> Tomcat 6.x implements version 2.5 of the servlet spec and version 2.1 of 
> the JSP spec.
> Tomcat 5.x implements version 2.4 of the servlet spec and version 2.0 of 
> the JSP spec.
> 
> Whilst a 2.4/2.0 app will run quite happily in a 2.5/2.1 environment, the 
> reverse is not true.
> 
> Mark
> 
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WAR-created-on-tomcat-6.0--Executed-on-Tomcat-5.5-tp16722777p16736068.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WAR created on tomcat 6.0 -Executed on Tomcat 5.5

2008-04-16 Thread Hassan Schroeder
On Wed, Apr 16, 2008 at 4:59 PM, Computerjuice <[EMAIL PROTECTED]> wrote:
>
>  So aside form installing Tomcat 6 is there a way round this compatibility
>  issue. ie is there a way that a Tomcat 6.0 WAR could be made to function in
>  tomcat 5.5.

That depends on whether your app depends on features of the 2.5
servlet spec, or can run on 2.4. Which is another way of putting my
previous, unanswered, question :-)

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WAR created on tomcat 6.0 -Executed on Tomcat 5.5

2008-04-16 Thread Computerjuice

I've just looked at the netbean
tutorial(http://www.netbeans.org/kb/55/mysql-webapp.html#getting) that was
used as the basis for my application. It was for use with netbeans 5.5,
which was bundled with Tomcat 5.5.17 I think. So going by what you have
already said, my WAR file is unlikely to contain features of 2.5.

I know someone suggested I download ensure package the .jar files. But even
if these files did not get packed into my WAR i remember explicitly
installing these files into necessary folders on the my server space. This
was done by suggestion of the host company. But still the JSTL tags were
displayed with no apparent connection to the database. There must be a
problem with the website Host.

Thank you to all that replied





Hassan Schroeder-2 wrote:
> 
> On Wed, Apr 16, 2008 at 4:59 PM, Computerjuice <[EMAIL PROTECTED]>
> wrote:
>>
>>  So aside form installing Tomcat 6 is there a way round this
>> compatibility
>>  issue. ie is there a way that a Tomcat 6.0 WAR could be made to function
>> in
>>  tomcat 5.5.
> 
> That depends on whether your app depends on features of the 2.5
> servlet spec, or can run on 2.4. Which is another way of putting my
> previous, unanswered, question :-)
> 
> -- 
> Hassan Schroeder  [EMAIL PROTECTED]
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WAR-created-on-tomcat-6.0--Executed-on-Tomcat-5.5-tp16722777p16736661.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WAR created on tomcat 6.0 -Executed on Tomcat 5.5

2008-04-17 Thread David Smith
I've never had standard.jar or jstl.jar anywhere except the webapp's 
WEB-INF/lib folder so it's hard to say what tomat will do with that.  
You may have to declare the taglibs in WEB-INF/web.xml when done that 
way.  Also what is the "necessary folders" you installed the jars in?


--David

Computerjuice wrote:


I've just looked at the netbean
tutorial(http://www.netbeans.org/kb/55/mysql-webapp.html#getting) that was
used as the basis for my application. It was for use with netbeans 5.5,
which was bundled with Tomcat 5.5.17 I think. So going by what you have
already said, my WAR file is unlikely to contain features of 2.5.

I know someone suggested I download ensure package the .jar files. But even
if these files did not get packed into my WAR i remember explicitly
installing these files into necessary folders on the my server space. This
was done by suggestion of the host company. But still the JSTL tags were
displayed with no apparent connection to the database. There must be a
problem with the website Host.

Thank you to all that replied





Hassan Schroeder-2 wrote:
 


On Wed, Apr 16, 2008 at 4:59 PM, Computerjuice <[EMAIL PROTECTED]>
wrote:
   


So aside form installing Tomcat 6 is there a way round this
compatibility
issue. ie is there a way that a Tomcat 6.0 WAR could be made to function
in
tomcat 5.5.
 


That depends on whether your app depends on features of the 2.5
servlet spec, or can run on 2.4. Which is another way of putting my
previous, unanswered, question :-)

--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



   



 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]