Type mismatch: cannot convert from long to Long

2005-02-01 Thread micky none
Hi Friends,
I went for help in the java forums,but I think you might help me better with 
this.I have a jsp that runs fine on my system,but when i upload it on the 
server it starts throwing this error:

Generated servlet error:
Type mismatch: cannot convert from long to Long

And the other thing is when i undeploy a war file on the server(5.5.7),the 
entry still remains there,altough the running status  turns to false...but on 
my system(5.0)..when i undeploy a file,the entry too is deleted.Might be,the 
server is not refllecting the changes i made to my JSP and loading the same old 
JSP.I dont know what the problem is and what to do??Can someone help me please??
Configuration:
Server-Tomcat 5.5.7
Jdk-1.5.0_01

My workstation:
Server-Tomcat 5.0
Jdk-1.5.0

My thead in the java forum is:
http://forum.java.sun.com/thread.jspa?threadID=591899tstart=0

AW: Type mismatch: cannot convert from long to Long

2005-02-01 Thread CHRISTOPH.EMMERSBERGER
autodeploying war files has to be configured in the webserver.
It seems that it isn't.
Perhaps you have an acces to the configurationfile of your productive
tomcat, than you can add the host element an attribute like autoDeploy=true,
else, try to restart the server.
The other thing, the exeption that you get, seems like a wrong
cast in your jsp.
Perhaps you have another version of tomcat than your provider.
So it could come to conflicts.


--
 BMW Group
 Herr Christoph Emmersberger
 Praktikant
 mailto: [EMAIL PROTECTED]
 Url: http://www.bmwgroup.de
-- 


-Ursprüngliche Nachricht-
Von: micky none [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 1. Februar 2005 15:29
An: Tomcat Users List
Betreff: Type mismatch: cannot convert from long to Long


Hi Friends,
I went for help in the java forums,but I think you might help 
me better with this.I have a jsp that runs fine on my 
system,but when i upload it on the server it starts throwing 
this error:

Generated servlet error:
Type mismatch: cannot convert from long to Long

And the other thing is when i undeploy a war file on the 
server(5.5.7),the entry still remains there,altough the 
running status  turns to false...but on my system(5.0)..when 
i undeploy a file,the entry too is deleted.Might be,the server 
is not refllecting the changes i made to my JSP and loading 
the same old JSP.I dont know what the problem is and what to 
do??Can someone help me please??
Configuration:
Server-Tomcat 5.5.7
Jdk-1.5.0_01

My workstation:
Server-Tomcat 5.0
Jdk-1.5.0

My thead in the java forum is:
http://forum.java.sun.com/thread.jspa?threadID=591899tstart=0


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: Type mismatch: cannot convert from long to Long

2005-02-01 Thread micky none
thanks christoph,
I think the casting is fine...coz i have shown the code to the java guys.And 
even if i restart the server,the entries still remains there
and works fine...i.e its not undeploying it,thought it shows the message OK - 
Undeployed application at context path /xxx
And the other thing is when i restart the server it doesnt works properly 
unless i explictily kill the java processes.
And finally can you please tell me in which file the autodeploy=true entry 
goes.This work is really important for me,any help wud be appreciated



On Tue, 01 Feb 2005 [EMAIL PROTECTED] wrote :
autodeploying war files has to be configured in the webserver.
It seems that it isn't.
Perhaps you have an acces to the configurationfile of your productive
tomcat, than you can add the host element an attribute like autoDeploy=true,
else, try to restart the server.
The other thing, the exeption that you get, seems like a wrong
cast in your jsp.
Perhaps you have another version of tomcat than your provider.
So it could come to conflicts.


--
  BMW Group
  Herr Christoph Emmersberger
  Praktikant
  mailto: [EMAIL PROTECTED]
  Url: http://www.bmwgroup.de
--


 -Ursprüngliche Nachricht-
 Von: micky none [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 1. Februar 2005 15:29
 An: Tomcat Users List
 Betreff: Type mismatch: cannot convert from long to Long
 
 
 Hi Friends,
 I went for help in the java forums,but I think you might help
 me better with this.I have a jsp that runs fine on my
 system,but when i upload it on the server it starts throwing
 this error:
 
 Generated servlet error:
 Type mismatch: cannot convert from long to Long
 
 And the other thing is when i undeploy a war file on the
 server(5.5.7),the entry still remains there,altough the
 running status  turns to false...but on my system(5.0)..when
 i undeploy a file,the entry too is deleted.Might be,the server
 is not refllecting the changes i made to my JSP and loading
 the same old JSP.I dont know what the problem is and what to
 do??Can someone help me please??
 Configuration:
 Server-Tomcat 5.5.7
 Jdk-1.5.0_01
 
 My workstation:
 Server-Tomcat 5.0
 Jdk-1.5.0
 
 My thead in the java forum is:
 http://forum.java.sun.com/thread.jspa?threadID=591899tstart=0
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: Type mismatch: cannot convert from long to Long

2005-02-01 Thread CHRISTOPH.EMMERSBERGER
try it with the server.xml

there is a host tag, and behind him, write the attribute

--
 BMW Group
 Herr Christoph Emmersberger
 Praktikant
 mailto: [EMAIL PROTECTED]
 Url: http://www.bmwgroup.de
-- 


-Ursprüngliche Nachricht-
Von: micky none [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 1. Februar 2005 15:50
An: Tomcat Users List
Betreff: Re: AW: Type mismatch: cannot convert from long to Long


thanks christoph,
I think the casting is fine...coz i have shown the code to the 
java guys.And even if i restart the server,the entries still 
remains there
and works fine...i.e its not undeploying it,thought it shows 
the message OK - Undeployed application at context path /xxx
And the other thing is when i restart the server it doesnt 
works properly unless i explictily kill the java processes.
And finally can you please tell me in which file the 
autodeploy=true entry goes.This work is really important for 
me,any help wud be appreciated



On Tue, 01 Feb 2005 [EMAIL PROTECTED] wrote :
autodeploying war files has to be configured in the webserver.
It seems that it isn't.
Perhaps you have an acces to the configurationfile of your productive
tomcat, than you can add the host element an attribute like 
autoDeploy=true,
else, try to restart the server.
The other thing, the exeption that you get, seems like a wrong
cast in your jsp.
Perhaps you have another version of tomcat than your provider.
So it could come to conflicts.


--
  BMW Group
  Herr Christoph Emmersberger
  Praktikant
  mailto: [EMAIL PROTECTED]
  Url: http://www.bmwgroup.de
--


 -Ursprüngliche Nachricht-
 Von: micky none [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 1. Februar 2005 15:29
 An: Tomcat Users List
 Betreff: Type mismatch: cannot convert from long to Long
 
 
 Hi Friends,
 I went for help in the java forums,but I think you might help
 me better with this.I have a jsp that runs fine on my
 system,but when i upload it on the server it starts throwing
 this error:
 
 Generated servlet error:
 Type mismatch: cannot convert from long to Long
 
 And the other thing is when i undeploy a war file on the
 server(5.5.7),the entry still remains there,altough the
 running status  turns to false...but on my system(5.0)..when
 i undeploy a file,the entry too is deleted.Might be,the server
 is not refllecting the changes i made to my JSP and loading
 the same old JSP.I dont know what the problem is and what to
 do??Can someone help me please??
 Configuration:
 Server-Tomcat 5.5.7
 Jdk-1.5.0_01
 
 My workstation:
 Server-Tomcat 5.0
 Jdk-1.5.0
 
 My thead in the java forum is:
 http://forum.java.sun.com/thread.jspa?threadID=591899tstart=0
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]