Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RAD - server creation help

 
Kalyan Abbaraju
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am currently trying to port my application from WSAD 5.1.2 to RAD. I am having lot of trouble in creating server in RAD. Can any please let me know how to create a test server in RAD.

Thanks in advance

Best Regards
Kalyan
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kalyan,
Basically, you have a server created already. You can add ears to it. To edit the configuration, you need to use the admin console now.

Can you elaborate on what problems you are having? Someone could provide a more specific answer then.
 
Kalyan Abbaraju
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne Boyarsky,

I have imported WSAD 5.1 server configuration (using instructions in http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=430&thread=104056&message=13779231&cat=24&q=Switch+Configuration)
to RAD server configuration.
I have added projects server but following errors came.

[5/4/06 22:47:09:765 IST] 0000003e SystemErr R !Stack_trace_of_nested_exce!
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R com.ibm.etools.j2ee.commonarchivecore.exception.ArchiveRuntimeException: Exception occurred loading loose application
!Stack_trace_of_nested_exce!
Wrapped exception
java.io.FileNotFoundException: D:\RAD1\workspace\.metadata\.plugins\com.ibm.wtp.j2ee\looseconfigurations\aceear\looseconfig.xmi (The handle is invalid.
)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:129)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:423)
at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:394)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:738)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:247)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:262)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:346)
at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplicationResource(LooseConfigRegister.java:229)
at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplication(LooseConfigRegister.java:221)
at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.findLooseApplication(LooseConfigRegister.java:78)
at com.ibm.etools.j2ee.commonarchivecore.strategy.DirectoryArchiveLoadStrategyImpl.getLooseArchive(DirectoryArchiveLoadStrategyImpl.java:40)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.primGetResourcesPath(LoadStrategyImpl.java:169)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.initializeResourceSet(LoadStrategyImpl.java:347)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getResourceSet(LoadStrategyImpl.java:231)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:329)
at com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:891)
at com.ibm.etools.j2ee.commonarchivecore.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:256)
at com.ibm.etools.j2ee.commonarchivecore.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:32)
at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:72)
at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:67)
at com.ibm.etools.j2ee.commonarchivecore.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:287)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFileImpl.java:608)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:687)
at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:727)
at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:563)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:532)
at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:108)
at com.ibm.ws.management.application.ArchiveSchedulerImpl.getArchive(ArchiveSchedulerImpl.java:131)
at com.ibm.ws.management.application.InstallSchedulerImpl.getEarFile(InstallSchedulerImpl.java:84)
at com.ibm.ws.webservices.deploy.WSDeployTask.performTask(WSDeployTask.java:81)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:250)
at java.lang.Thread.run(Thread.java:813)
Wrapped by
org.eclipse.emf.common.util.WrappedException: D:\RAD1\workspace\.metadata\.plugins\com.ibm.wtp.j2ee\looseconfigurations\aceear\looseconfig.xmi (The handle is invalid.
)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:346)
at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplicationResource(LooseConfigRegister.java:229)
at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplication(LooseConfigRegister.java:221)
at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.findLooseApplication(LooseConfigRegister.java:78)
at com.ibm.etools.j2ee.commonarchivecore.strategy.DirectoryArchiveLoadStrategyImpl.getLooseArchive(DirectoryArchiveLoadStrategyImpl.java:40)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.primGetResourcesPath(LoadStrategyImpl.java:169)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.initializeResourceSet(LoadStrategyImpl.java:347)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getResourceSet(LoadStrategyImpl.java:231)
at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:329)
at com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:891)
at com.ibm.etools.j2ee.commonarchivecore.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:256)
at com.ibm.etools.j2ee.commonarchivecore.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:32)
at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:72)
at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:67)
at com.ibm.etools.j2ee.commonarchivecore.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:287)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFileImpl.java:608)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:687)
at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:727)
at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:563)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:532)
at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:108)
at com.ibm.ws.management.application.ArchiveSchedulerImpl.getArchive(ArchiveSchedulerImpl.java:131)
at com.ibm.ws.management.application.InstallSchedulerImpl.getEarFile(InstallSchedulerImpl.java:84)
at com.ibm.ws.webservices.deploy.WSDeployTask.performTask(WSDeployTask.java:81)
at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:250)
at java.lang.Thread.run(Thread.java:813)

[5/4/06 22:47:09:765 IST] 0000003e SystemErr R !Stack_trace_of_nested_exce!
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R Wrapped exception
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R java.io.FileNotFoundException: D:\RAD1\workspace\.metadata\.plugins\com.ibm.wtp.j2ee\looseconfigurations\aceear\looseconfig.xmi (The handle is invalid.
)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at java.io.FileInputStream.open(Native Method)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at java.io.FileInputStream.<init>(FileInputStream.java:129)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(URIConverterImpl.java:423)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URIConverterImpl.java:394)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:738)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:247)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:262)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:346)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplicationResource(LooseConfigRegister.java:229)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.loadLooseApplication(LooseConfigRegister.java:221)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.looseconfig.LooseConfigRegister.findLooseApplication(LooseConfigRegister.java:78)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.DirectoryArchiveLoadStrategyImpl.getLooseArchive(DirectoryArchiveLoadStrategyImpl.java:40)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.primGetResourcesPath(LoadStrategyImpl.java:169)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.initializeResourceSet(LoadStrategyImpl.java:347)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getResourceSet(LoadStrategyImpl.java:231)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:329)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:891)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:256)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:32)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:72)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.strategy.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:67)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:287)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFileImpl.java:608)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:687)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:727)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.j2ee.commonarchivecore.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:563)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:532)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:108)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.ws.management.application.ArchiveSchedulerImpl.getArchive(ArchiveSchedulerImpl.java:131)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.ws.management.application.InstallSchedulerImpl.getEarFile(InstallSchedulerImpl.java:84)
[5/4/06 22:47:09:765 IST] 0000003e SystemErr R at com.ibm.ws.webservices.deploy.WSDeployTask.performTask(WSDeployTask.java:81)

[5/4/06 22:47:28:359 IST] 00000041 SystemErr R com.ibm.etools.j2ee.commonarchivecore.exception.ReopenException: IWAE0016E IOException occurred while reopening junit.jar
!Stack_trace_of_nested_exce!

What does it mean by invalid handle and how to rectify this.


Regards

Kalyan
 
Pal andy
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kalyan,

Even I am getting the same error. Did you find a solution to this problem? If so, can you please share?


Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic