MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
emmitscott@hotmail.com
Post subject: Can No Longer Deploy To WebSphere - SaveFailureException  PostPosted: Nov 22, 2009 - 05:36 PM



Joined: Nov 22, 2009
Posts: 4

I have ME Blue 7.5-Blue-20090609. On this laptop, Win XP, I have WebSphere 6.1:
6.1.0.17
Build Number: cf170821.07
Build Date: 5/28/08

I have been happlily re-deploying this project's WAR file for months with no issues. Friday, I wasn't seeing my changes after that last successful deployment. So I removed the deployment (ME Server View - Remove Deployment). When that was done, I re-deployed. Although the server view reported a successful deployment, I knew something was wrong because I didn't see the normal deployment activity in the server log - just a plain vanilla server startup. Upon going to localhost to see if the app was working, I was greeted with this:

Error 404: No target servlet configured for uri: /AADWeb/

I tried again and again, with no luck. I tried via backup workspaces. I tried removing the attached server in ME and adding a new server. Same issue. I tried manually clearing the deployment via Windows Explorer and redeploying. No luck. I get the same message in the deployment log every time I try (exploded or packaged). Please help. I've spent 2 days already, and my group has a large project that's due. Thanks:

Example of the error:

---------------------------------------------------------------------------------------------------------------------------
MyEclipse: deployment START packagedproject: AADWeb server: websphere61Server#NewServer time: Sat Nov 21 21:19:08 EST 2009
---------------------------------------------------------------------------------------------------------------------------
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\AADWeb.war, CSSTSG21530Node02Cell, CSSTSG21530Node02, server1, /AADWeb, AADWeb, {{"AADWeb.war" "AADWeb.war,WEB-INF/web.xml" default_host}}, {{"null" "AADWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}, AADWeb.war, false]"
-contextroot "/AADWeb" -nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname "AADWeb" -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{"AADWeb.war" "AADWeb.war,WEB-INF/web.xml" default_host}} -JSPReloadForWebMod {{"null" "AADWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}
C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\AADWeb.war
CSSTSG21530Node02Cell
CSSTSG21530Node02
server1
/AADWeb
AADWeb
{"AADWeb.war" "AADWeb.war,WEB-INF/web.xml" default_host}
{"null" "AADWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}
AADWeb.war
false
WASX7327I: Contents of was.policy file:
//
// Template policy file for enterprise application.
// Extra permissions can be added if required by the enterprise application.
//
// NOTE: Syntax errors in the policy files will cause the enterprise application FAIL to start.
// Extreme care should be taken when editing these policy files. It is advised to use
// the policytool provided by the JDK for editing the policy files
// (WAS_HOME/java/jre/bin/policytool).
//

grant codeBase "file:${application}" {
};

grant codeBase "file:${jars}" {
};

grant codeBase "file:${connectorComponent}" {
};

grant codeBase "file:${webComponent}" {
};

grant codeBase "file:${ejbComponent}" {
};


ADMA5016I: Installation of AADWeb started.
ADMA5058I: Application and module versions are validated with versions of deployment targets.
WSWS0038E: Error from Web services deploy tool: Exception thrown: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: WEB-INF/classes/.#applicationContext-hibernate.xml.1.13
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: WEB-INF/classes/.#applicationContext-hibernate.xml.1.13
Stack trace of nested exception:
java.io.FileNotFoundException: C:\DOCUME~1\E071272\LOCALS~1\Temp\Base52447.tmp\WEB-INF\classes\. (Access is denied.)
at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
at java.io.FileOutputStream.<init>(FileOutputStream.java:157)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveURIConverterImpl.openFileOutputStream(ArchiveURIConverterImpl.java:396)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveURIConverterImpl.createOutputStream(ArchiveURIConverterImpl.java:369)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectorySaveStrategyImpl.save(DirectorySaveStrategyImpl.java:158)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:133)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:145)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:100)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:1436)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:161)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.extractTo(ArchiveImpl.java:566)
at com.ibm.etools.webservice.deploy.core.NestedDeploymentModule.setupModule(NestedDeploymentModule.java:105)
at com.ibm.etools.webservice.deploy.core.AbstractDeploymentModule.execute(AbstractDeploymentModule.java:63)
at com.ibm.etools.webservice.deploy.core.EARDeploymentModule.execute(EARDeploymentModule.java:72)
at com.ibm.etools.webservice.deploy.core.DeployWebService.deploy(DeployWebService.java:151)
at com.ibm.etools.webservice.deploy.core.DeployWebService.execute(DeployWebService.java:97)
at com.ibm.ws.webservices.deploy.WSDeployTask.performTask(WSDeployTask.java:215)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:262)
at java.lang.Thread.run(Thread.java:810)
ADMA5011I: The cleanup of the temp directory for application AADWeb is complete.
ADMA5014E: The installation of application AADWeb failed.
WASX7017E: Exception received while running file "C:\Program Files\Pulse\Common\plugins\com.genuitec.eclipse.blue.websphere61_7.1.0.zmyeclipse7102009030516\installWebModule.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\AADWeb.war failed: see previous messages for details.
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: Can No Longer Deploy To WebSphere - SaveFailureException  PostPosted: Nov 23, 2009 - 11:37 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

emmitscott@hotmail.com,

Can you open your IDE with -clean as mentioned here http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10280.html. I would recommend you refresh your project, clear your log file(open your .log file located here - [workspace]/.metadata/.log, open the file, press [Ctrl + A] and [delete], save file). Refresh your project. Remove the project from Websphere 6.1. Click on MyEclipse > Examples on Demand. Install a sample project and see if you are able to deploy the same on WebSphere 6.1, try to run the same. This will eliminate that the error lies with your WebSphere 6.1 configuration. Next add your project deployment to WebSphere 6.1 and run the same. Let me know how this works for you.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
emmitscott@hotmail.com
Post subject: No Luck  PostPosted: Nov 23, 2009 - 05:23 PM



Joined: Nov 22, 2009
Posts: 4

Thanks for the reply, but no luck. I checked the myeclipse.ini and -clean is there in the set of commands. I refreshed, cleared the .log file, removed my project, refreshed, and added a sample project. The sample project deployed and ran OK. But I got the same exact error when I tried to deploy my project. Here are the results of the sample project, followed by the attempt to deploy my project:

------------------------------------------------------------------------------------------------------------------------------------
MyEclipse: deployment START explodedproject: SimpleJSPExample server: websphere61Server#AppSrv01 time: Mon Nov 23 12:08:29 EST 2009
------------------------------------------------------------------------------------------------------------------------------------
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\SimpleJSPExample.war, CSSTSG21530Node02Cell, CSSTSG21530Node02, server1, /SimpleJSPExample, SimpleJSPExample, {{"SimpleJSPExample.war" "SimpleJSPExample.war,WEB-INF/web.xml" default_host}}, {{"null" "SimpleJSPExample.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}, SimpleJSPExample.war, false]"
-contextroot "/SimpleJSPExample" -nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname "SimpleJSPExample" -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{"SimpleJSPExample.war" "SimpleJSPExample.war,WEB-INF/web.xml" default_host}} -JSPReloadForWebMod {{"null" "SimpleJSPExample.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}
C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\SimpleJSPExample.war
CSSTSG21530Node02Cell
CSSTSG21530Node02
server1
/SimpleJSPExample
SimpleJSPExample
{"SimpleJSPExample.war" "SimpleJSPExample.war,WEB-INF/web.xml" default_host}
{"null" "SimpleJSPExample.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}
SimpleJSPExample.war
false
WASX7327I: Contents of was.policy file:
//
// Template policy file for enterprise application.
// Extra permissions can be added if required by the enterprise application.
//
// NOTE: Syntax errors in the policy files will cause the enterprise application FAIL to start.
// Extreme care should be taken when editing these policy files. It is advised to use
// the policytool provided by the JDK for editing the policy files
// (WAS_HOME/java/jre/bin/policytool).
//

grant codeBase "file:${application}" {
};

grant codeBase "file:${jars}" {
};

grant codeBase "file:${connectorComponent}" {
};

grant codeBase "file:${webComponent}" {
};

grant codeBase "file:${ejbComponent}" {
};


ADMA5016I: Installation of SimpleJSPExample started.
ADMA5058I: Application and module versions are validated with versions of deployment targets.
WSWS0041I: Web services deploy task completed successfully.
ADMA5005I: The application SimpleJSPExample is configured in the WebSphere Application Server repository.
ADMA5053I: The library references for the installed optional package are created.
ADMA5005I: The application SimpleJSPExample is configured in the WebSphere Application Server repository.
ADMA5001I: The application binaries are saved in C:\WebSphere61\AppServer\profiles\AppSrv01\wstemp\Script12522041f18\workspace\cells\CSSTSG21530Node02Cell\applications\SimpleJSPExample.ear\SimpleJSPExample.ear
ADMA5005I: The application SimpleJSPExample is configured in the WebSphere Application Server repository.
SECJ0400I: Successfuly updated the application SimpleJSPExample with the appContextIDForSecurity information.
ADMA5011I: The cleanup of the temp directory for application SimpleJSPExample is complete.
ADMA5013I: Application SimpleJSPExample installed successfully.
--------------------------------------------------------------------------------------------------------------------------
MyEclipse: deployment START explodedproject: AADWeb server: websphere61Server#AppSrv01 time: Mon Nov 23 12:15:14 EST 2009
--------------------------------------------------------------------------------------------------------------------------
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\AADWeb.war, CSSTSG21530Node02Cell, CSSTSG21530Node02, server1, /AADWeb, AADWeb, {{"AADWeb.war" "AADWeb.war,WEB-INF/web.xml" default_host}}, {{"null" "AADWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}, AADWeb.war, false]"
-contextroot "/AADWeb" -nopreCompileJSPs -distributeApp -useMetaDataFromBinary -nodeployejb -appname "AADWeb" -createMBeansForResources -reloadEnabled -reloadInterval 1 -deployws -validateinstall off -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -buildVersion Unknown -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -MapWebModToVH {{"AADWeb.war" "AADWeb.war,WEB-INF/web.xml" default_host}} -JSPReloadForWebMod {{"null" "AADWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}}
C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\AADWeb.war
CSSTSG21530Node02Cell
CSSTSG21530Node02
server1
/AADWeb
AADWeb
{"AADWeb.war" "AADWeb.war,WEB-INF/web.xml" default_host}
{"null" "AADWeb.war,WEB-INF/ibm-web-ext.xmi"AppDeploymentOption.Yes 1}
AADWeb.war
false
WASX7327I: Contents of was.policy file:
//
// Template policy file for enterprise application.
// Extra permissions can be added if required by the enterprise application.
//
// NOTE: Syntax errors in the policy files will cause the enterprise application FAIL to start.
// Extreme care should be taken when editing these policy files. It is advised to use
// the policytool provided by the JDK for editing the policy files
// (WAS_HOME/java/jre/bin/policytool).
//

grant codeBase "file:${application}" {
};

grant codeBase "file:${jars}" {
};

grant codeBase "file:${connectorComponent}" {
};

grant codeBase "file:${webComponent}" {
};

grant codeBase "file:${ejbComponent}" {
};


ADMA5016I: Installation of AADWeb started.
ADMA5058I: Application and module versions are validated with versions of deployment targets.
WSWS0038E: Error from Web services deploy tool: Exception thrown: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: WEB-INF/classes/.#applicationContext-hibernate.xml.1.13
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: WEB-INF/classes/.#applicationContext-hibernate.xml.1.13
Stack trace of nested exception:
java.io.FileNotFoundException: C:\DOCUME~1\E071272\LOCALS~1\Temp\Base12547.tmp\WEB-INF\classes\. (Access is denied.)
at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
at java.io.FileOutputStream.<init>(FileOutputStream.java:157)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveURIConverterImpl.openFileOutputStream(ArchiveURIConverterImpl.java:396)
at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveURIConverterImpl.createOutputStream(ArchiveURIConverterImpl.java:369)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectorySaveStrategyImpl.save(DirectorySaveStrategyImpl.java:158)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:133)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:145)
at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:100)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:1436)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:161)
at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.extractTo(ArchiveImpl.java:566)
at com.ibm.etools.webservice.deploy.core.NestedDeploymentModule.setupModule(NestedDeploymentModule.java:105)
at com.ibm.etools.webservice.deploy.core.AbstractDeploymentModule.execute(AbstractDeploymentModule.java:63)
at com.ibm.etools.webservice.deploy.core.EARDeploymentModule.execute(EARDeploymentModule.java:72)
at com.ibm.etools.webservice.deploy.core.DeployWebService.deploy(DeployWebService.java:151)
at com.ibm.etools.webservice.deploy.core.DeployWebService.execute(DeployWebService.java:97)
at com.ibm.ws.webservices.deploy.WSDeployTask.performTask(WSDeployTask.java:215)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:262)
at java.lang.Thread.run(Thread.java:810)
ADMA5011I: The cleanup of the temp directory for application AADWeb is complete.
ADMA5014E: The installation of application AADWeb failed.
WASX7017E: Exception received while running file "C:\Program Files\Pulse\Common\plugins\com.genuitec.eclipse.blue.websphere61_7.5.0.zmyeclipse75020090612\installWebModule.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for C:\WebSphere61\AppServer\profiles\AppSrv01\installableApps\AADWeb.war failed: see previous messages for details.
 
 View user's profile Send private message  
Reply with quote Back to top
emmitscott@hotmail.com
Post subject: Uninstall Does Not Work Either  PostPosted: Nov 23, 2009 - 05:40 PM



Joined: Nov 22, 2009
Posts: 4

Interestingly enough, the uninstall is successful for the sample project, but it fails for my project:

--------------------------------------------------------------------------------------------------------------------------
MyEclipse: deployment START explodedproject: AADWeb server: websphere61Server#AppSrv01 time: Mon Nov 23 12:36:31 EST 2009
--------------------------------------------------------------------------------------------------------------------------
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[AADWeb]"
AADWeb
WASX7017E: Exception received while running file "C:\Program Files\Pulse\Common\plugins\com.genuitec.eclipse.blue.websphere61_7.5.0.zmyeclipse75020090612\uninstallApplication.jacl"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7280E: An application with name "AADWeb" does not exist.

------------------------------------------------------------------------------------------------------------------------------------
MyEclipse: deployment START explodedproject: SimpleJSPExample server: websphere61Server#AppSrv01 time: Mon Nov 23 12:37:19 EST 2009
------------------------------------------------------------------------------------------------------------------------------------
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7303I: The following options are passed to the scripting environment and are available as arguments that are stored in the argv variable: "[SimpleJSPExample]"
SimpleJSPExample
ADMA5017I: Uninstallation of SimpleJSPExample started.
ADMA5104I: The server index entry for WebSphere:cell=CSSTSG21530Node02Cell,node=CSSTSG21530Node02 is updated successfully.
ADMA5102I: The configuration data for SimpleJSPExample from the configuration repository is deleted successfully.
ADMA5011I: The cleanup of the temp directory for application SimpleJSPExample is complete.
ADMA5106I: Application SimpleJSPExample uninstalled successfully.
 
 View user's profile Send private message  
Reply with quote Back to top
emmitscott@hotmail.com
Post subject: Issue Resolved! File with # sign preventing deployment !?!?!  PostPosted: Nov 23, 2009 - 09:23 PM



Joined: Nov 22, 2009
Posts: 4

OK, not sure why this was there. I didn't create this file. Somehow a file was duplicated in the workspace and it had a # sign... like this - #applicationContext-hibernate.xml1.13

I had not noticed this, and either it wasn't there in the past, or had not been a problem previously. As I said, I never created this file. It was there in the deployment log error, but I only noticed it today (after wasting 2 days):

WSWS0038E: Error from Web services deploy tool: Exception thrown: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: WEB-INF/classes/.#applicationContext-hibernate.xml.1.13

I manually deleted this file, refreshed, recompiled, and the deployment process has worked since. No issues.

Strange...
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: Issue Resolved! File with # sign preventing deployment !  PostPosted: Nov 24, 2009 - 04:09 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

emmitscott@hotmail.com,

Good to hear you are all set.

Best.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits