This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes Deploy Problem on server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deploy Problem on server." Watch "Deploy Problem on server." New topic
Author

Deploy Problem on server.

Sandeep Sirsekar
Greenhorn

Joined: Apr 09, 2008
Posts: 16
Hi , I have developed Java EE application using Netbeans , its very simple application with only 1 jsp and 1 class file .

Now problem im facing is that my .war file. when i extract it there is NO CLASS FILE FOUND IN IT. only single jsp file is there.

and two different deploy time result.

1) on local pc

It works perfectly fine no error nothing.even database functionality is also fine.

2) on real server

The request to servelet shows no page found as there is no class in .war file

Can anyone help me please im new to deploying thing on real server.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3827

Sandeep Sirsekar wrote:Now problem im facing is that my .war file. when i extract it there is NO CLASS FILE FOUND IN IT. only single jsp file is there.


Then if jsp uses the class you should get an error.


1) on local pc

It works perfectly fine no error nothing.even database functionality is also fine.


Check inside your server, from your previous deployment whether the class file is there.

If your war does not contain class file then there may be something wrong in your configuration which used to create the war.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41633
    
  55
The request to servelet shows no page found as there is no class in .war file

This sounds fishy. Why would there be an error about a page not being found, if in fact a class is missing? What is the actual exception?


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deploy Problem on server.