You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "R.Sriram" <sr...@rstech.net> on 2009/08/18 04:22:14 UTC

Request Help

Hello,
I am trying to host my servlet based solution in Network Solutions 
shared hosting service.
In order test if I can use it, I downloaded Hello.java from their 
environment and compiled in my environment as MyHello.class.
I tested their Hello.class (Hello.class compiled in their environment); 
that works. However, MyHello.class doesn't work.
Could anyone tell why this could be happening.
Thanks...Ram


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Request Help

Posted by Peter Crowther <pe...@melandra.com>.
2009/8/18 R.Sriram <sr...@rstech.net>
> I am trying to find out from Network Solution what JDK version they are using to compile. All they are telling me is they use JServ 1.1.2 and JDK compatible to that. Do you know what version of JDK that would map to.

No, as there are several possibilities.  By the way, JServ is truly
ancient - why are you using their shared hosting service?

> Also, it wouldnt matter if they are using Tomcat as the servlet container or not, right? It shouldnt matter which environment their servlet is running, right?

Well... as this is a Tomcat list, you won't get very good support if
you're not asking a question about Tomcat :-).  But for a simple
"hello world" class then, no, in theory it shouldn't matter.
Practically, each container has its own oddities.

- Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Request Help

Posted by Ognjen Blagojevic <og...@etf.bg.ac.rs>.
R.Sriram wrote:
> I am trying to find out from Network Solution what JDK version they are 
> using to compile. All they are telling me is they use JServ 1.1.2 and 
> JDK compatible to that. 

That software is 9 years old, and it is not developed anymore. Tomcat 
supports Servlet spec 2.5, and Jserv 2.0.

If you are planning to develop Java web applications, please install 
Tomcat at your local computer. That way you will get much more 
information about the problems during development. When the application 
works at your local computer, the next step is to deploy it at your 
provider server.

Regards,
Ognjen



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Request Help

Posted by "R.Sriram" <sr...@rstech.net>.
Thanks Peter.
I am trying to find out from Network Solution what JDK version they are 
using to compile. All they are telling me is they use JServ 1.1.2 and 
JDK compatible to that. Do you know what version of JDK that would map to.
Also, it wouldnt matter if they are using Tomcat as the servlet 
container or not, right? It shouldnt matter which environment their 
servlet is running, right?
Thanks...Ram
-----------------------------------------------------------------------------------------------------------------------
Peter Crowther wrote:
> 2009/8/18 Ognjen Blagojevic <og...@etf.bg.ac.rs>
>   
>> R.Sriram wrote:
>>     
>>> I am trying to host my servlet based solution in Network Solutions shared hosting service.
>>> In order test if I can use it, I downloaded Hello.java from their environment and compiled in my environment as MyHello.class.
>>> I tested their Hello.class (Hello.class compiled in their environment); that works. However, MyHello.class doesn't work.
>>> Could anyone tell why this could be happening.
>>>       
>> You could describe your problem in more useful detail: Exact Tomcat versions used, JRE/JDK versions, and OS.
>>
>> Do you get any exceptions? Look on the console or the log file (logs/catalina.out).
>>
>> Send us your web.xml.
>>     
>
> In particular:
>
> What JDK level do Network Solutions run Tomcat under?
> What level are you compiling under?
>
> If NetSol are running Java 1.5, and you're compiling a class to expect
> 1.6, their server won't load the class and you'll get an exception as
> it loads.
>
> - Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Request Help

Posted by Peter Crowther <pe...@melandra.com>.
2009/8/18 Ognjen Blagojevic <og...@etf.bg.ac.rs>
> R.Sriram wrote:
>>
>> I am trying to host my servlet based solution in Network Solutions shared hosting service.
>> In order test if I can use it, I downloaded Hello.java from their environment and compiled in my environment as MyHello.class.
>> I tested their Hello.class (Hello.class compiled in their environment); that works. However, MyHello.class doesn't work.
>> Could anyone tell why this could be happening.
>
> You could describe your problem in more useful detail: Exact Tomcat versions used, JRE/JDK versions, and OS.
>
> Do you get any exceptions? Look on the console or the log file (logs/catalina.out).
>
> Send us your web.xml.

In particular:

What JDK level do Network Solutions run Tomcat under?
What level are you compiling under?

If NetSol are running Java 1.5, and you're compiling a class to expect
1.6, their server won't load the class and you'll get an exception as
it loads.

- Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Request Help

Posted by Ognjen Blagojevic <og...@etf.bg.ac.rs>.
R.Sriram wrote:
> I am trying to host my servlet based solution in Network Solutions 
> shared hosting service.
> In order test if I can use it, I downloaded Hello.java from their 
> environment and compiled in my environment as MyHello.class.
> I tested their Hello.class (Hello.class compiled in their environment); 
> that works. However, MyHello.class doesn't work.
> Could anyone tell why this could be happening.

You could describe your problem in more useful detail: Exact Tomcat 
versions used, JRE/JDK versions, and OS.

Do you get any exceptions? Look on the console or the log file 
(logs/catalina.out).

Send us your web.xml.

Regards,
Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org