Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

application suddenly not working

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The application suddenly doesnt run. The error is



It works at another pc. It also worked when I imported it in another workspace.

The only thing I do differently is sometimes use filters and form login, and in another pc, i dont use filter and form login. Is there anything else I need to update in the workspace when I remove the filter and form login from the web.xml?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you 'importing' the project? As a war? an EAR? As a workspace project?

A virtual host is not defined? Your server can start, right? One thing you might do is run the test server, and then open the admin console. That's one of the options when you right click on your server configuration. Then take a look at what virtual hosts are defined. Maybe you could compare this entry to the computers that work.

Cheers!

-Cameron McKenzie
 
Eddy Lee Sin Ti
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/webapp/XXXXPPORTALWeb/XXXXSPPFlatDetailSold


The above mentioned path can be mapped to Servlet, Filter, etc. Since you said you removed the filter and some other stuffs from the web.xml, it could be a filter that handle such a request. It could be helpful if you can post up your original and changed web.xml.

Maybe it's just like Kameron said, your application might not deployed or started properly.

Cheers
[ October 28, 2006: Message edited by: Eddy Lee Sin Ti ]
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was exporting/importing the application as an ear (with source).

Another thing is, at one point, wsad points an error to a line in the web.xml that I have already deleted (the line where the filter declaration used to be). I have saved all the files already so wsad should see the new web.xml. But it seems to be 'seeing' the old web.xml from somewhere (halloween-related?). Anyway, that one disappeared already.

But this application, as I mentioned doesnt work suddenly. But in a new workspace, it does.
 
Eddy Lee Sin Ti
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might be the case where the deployed web.xml amd other related files doesn't get updated/refreshed in your old workspace.

Try check out your server configuration directory and search for web.xml file. Usually it is located at

<workspace_directory>\<server_configuration_name>\<server_name>.wsc\cells\localhost\applications\<ear_name>.ear\deployments\<web_app_name>\<web_app_name>.war\WEB-INF\web.xml

I did face similar issue before and what I did is to undeploy and redeploy again the EAR to make sure the server got a clean new copy of everything.

Hope this helps. Cheers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic