File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 3860

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: 42946
    
  70
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploy Problem on server.