• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is Websphere the Best!!

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,
I want to deploy war file and this is the exception:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml

about this war file it is deployed successfully in JBoss & tomcat 4 versions and 5 versions

But in websphere 6.1 it gives me that STRANGE exception
i wonder from where eclipse exception came from while i use Websphere!!
it should be Exception from ibm.

Please IBM Developers prove to me that IBM Websphere is the BEST!!!
 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All ,
other problem with another web application that i try to deploy it in Websphere 6.1
it gave me that error:

The EAR file might be corrupt or incomplete.
AppDeploymentException: [null] org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: IWAE0022E Exception occurred loading deployment descriptor for module "websample1.war" in EAR file "D:\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp\92668751\upload\websample1.ear"


after a lot of search & trial and errors i discover that if i omit from web.xml all taglibs tags e.g.:

<taglib>
<taglib-uri>http://www.sample.com/domain/SampleTLD</tagliburi>;
<taglib-location>/WEB-INF/tld/SampleTLD.tld</taglib-location>
</taglib>

the step one in install new application success else the ugly exception returns back.
what i want and like to do to imigrate my applications from JBoss and tomcat to Websphere..but still failed
Please Any kindly help to make me never hesitate with the power of websphere application server!!!
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't you have more stacktrace in SystemOut.log and/or SystemErr.log?

Does your web.xml follow the DTD rules for a web.xml - does the tags come in the right order?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WebSphere is based on Eclipse. That is why you sometimes get Eclipse exceptions.
 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks all, i solved the problem...But still have other problem
after i deploy the application XXX.ear successfully with 0 errors .

when i want to see the main page called login.jsp i have this strange exception:
---------------------------------------------------------------------------
Error Message:JSPG0227E: Exception caught while translating /login.jsp: /login.jsp(0,1) --> JSPG0005E: tld file could not be found for uri[/WEB-INF/tags/] prefix [psecc]
Root Cause:com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E: Exception caught while translating /login.jsp: /login.jsp(0,1) --> JSPG0005E: tld file could not be found for uri[/WEB-INF/tags/] prefix [psecc]at com.ibm.ws.jsp.translator.visitor.validator.ValidateVisitor.visitJspRootStart(ValidateVisitor.java:472)at com.ibm.ws.jsp.translator.visitor.JspVisitor.processJspElement(JspVisitor.java:138)at com.ibm.ws.jsp.translator.visitor.JspVisitor.visit(JspVisitor.java:121)at com.ibm.ws.jsp.translator.JspTranslator.processVisitors(JspTranslator.java:121)at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:181)at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:83)at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:349)at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:317)at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:226)at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:131)at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
---------------------------------------------------------------------------
the same .ear file is loaded successfully in JBoss and Tomcat without any problem please any tips or clever ideas.. i konw you are here to help so please help
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hani,
Is the tld defined in your web.xml? Are the paths correct in the web.xml and the JSP?

The fact that it works on JBoss and Tomcat doesn't tell you anything about the correctness of your ear. In fact, I bet it would work on WebSphere 5. When we converted from WAS 5 to 6, we encountered a few tld errors that "never should have worked as written" in the first place. WAS 5 was more forgiving about them.
 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Jeanne,
and all Gentle Helpers

at runtime Error i have this one before go to the open page:

Unable to init service locator with bussiness host configurations

it is really strange Exception

Please help and about the previous exception i still try to solve it
if any trials be correct i will add reply for it

Thanks and please all :Keep in touch with any ideas,assumptions ,tips
Because i need that
 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Jeanne,
and all Gentle Helpers


YES YES YES ..i solved the last probem but still the probem of WEB-INF/Tags problem if any idea about it please rise it up.

Thanks all
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic