This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Create deployment code for EJJB 2.0 in WAS 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Create deployment code for EJJB 2.0 in WAS 6.1" Watch "Create deployment code for EJJB 2.0 in WAS 6.1" New topic

Create deployment code for EJJB 2.0 in WAS 6.1

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385

we recently migrated to WAS 6.1 from 5.1 and are trying to build our application.

We are facing problem in generating deployment code for one of our ejb module.

below is the exception we are facing .

If i replace the ejb-jar.xml dtd according to ejb2.1 then it works fine.But if i use dtd for ejb 2.0 it is showing the error but went on building the application.

I am just afraid of changing the dtd just to avoid this error or if i continue with this ,would it cause any problem when we run into production?

Please let me know changing the dtd to according to version 2.1 will cause any problem?

if yes then,How do i generate the deployment code for ejb 2.0 with WAS 6.1 script?.

o0825.02EJB Deploy configuration directory: /users/users-2/t504625/.eclipse/configurationframework search path: /auto/prod/ver/WAS/610_21/deploytool/itp/plugins
[exec] org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/ejb-jar.xml" in archive "/vobs/glbtrs01/gmm/build/src/java/temp/AppMessaging.jar"
[exec] Stack trace of nested exception:
[exec] org.eclipse.emf.common.util.WrappedException: Connection timed out
[exec] at org.eclipse.wst.common.internal.emf.resource.EMF2SAXRenderer.doLoad(
[exec] at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(
[exec] at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(
[exec] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(
[exec] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(
[exec] at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.load(
[exec] at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(
[exec] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(
[exec] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(
[exec] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(
[exec] at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(
[exec] at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.getMofResource(
[exec] at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(
[exec] at
[exec] at
[exec] at org.eclipse.core.internal.runtime.PlatformActivator$
[exec] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
[exec] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
[exec] at
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[exec] at java.lang.reflect.Method.invoke(
[exec] at
[exec] at
[exec] at
[exec] at
[exec] Caused by: Connection timed out
[exec] at Method)
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at<init>(
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at
[exec] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
[exec] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
[exec] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
[exec] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
[exec] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
[exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[exec] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[exec] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[exec] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[exec] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[exec] at org.eclipse.wst.common.internal.emf.resource.EMF2SAXRenderer.doLoad(
[exec] ... 26 more


Failure is not an option.
I agree. Here's the link:
subject: Create deployment code for EJJB 2.0 in WAS 6.1
Similar Threads
Problem loading applicationContext.xml
Shut Down a SSL Enabled JBOSS
Coonection Exception while reading the xml file in Eclipse