| Author |
WebService Feature Pack Profile Creation Error
|
|
|
| I upgraded to RAD 7.0.0.3 and then installed the WebService Feature Pack. I am trying to create a new profile to use WebService Feature Pack Environment. The wizard goes through the creation screens and at the end says Failed to Create Profile Please chec
k AppSrv02-create.log
I see following in the log. How do I fix this?
java.io.IOException: CreateProcess: "C:\Program Files\IBM\SDP70\runtimes\base_v61\bin\la
unchWsadminListener.bat" "C:\Program Files\IBM\SDP70\runtimes\base_v61\profil
es\AppSrv02/temp/wsadmin" "C:\Program Files\IBM\SDP70\runtimes\base_v61/logs/manageprofile
s/AppSrv02/wsadminListener.log" Cp1252 error=5
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute.launch(Unknown Source)
at org.apache.tools.ant.taskdefs.Execute.spawn(Unknown Source)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(Unknown Source)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(Unknown Source)
at org.apache.tools.ant.taskdefs.ExecTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(Unknown Source)
at org.apache.tools.ant.Task.perform(Unknown Source)
at org.apache.tools.ant.Target.execute(Unknown Source)
at org.apache.tools.ant.Target.performTasks(Unknown Source)
at org.apache.tools.ant.Project.executeSortedTargets(Unknown Source)
at org.apache.tools.ant.Project.executeTarget(Unknown Source)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Unknown Source)
at org.apache.tools.ant.Project.executeTargets(Unknown Source)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(Unknown Source)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(Unknown Source)
at com.ibm.ws.install.configmanager.actionengine.ANTAction. executeActionUsingAnInProcessANTCall(Unk
nown Source)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(Unknown Source)
at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(Unknown Source)
at com.ibm.ws.install.configmanager.ConfigManager.executeActions(Unknown Source)
at com.ibm.ws.install.configmanager.ConfigManager.launch(Unknown Source)
at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Unknown Source)
at com.ibm.wsspi.profile.WSProfile.doCreate(Unknown Source)
at com.ibm.wsspi.profile.WSProfile.stackCreate(Unknown Source)
at com.ibm.wsspi.profile.WSProfile.create(Unknown Source)
at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(Unknown Source)
at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(Unknown Source)
at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(Unknown Source)
at com.ibm.wsspi.profile.WSProfileCLI.mainForInProcessCalls(Unknown Source)
at com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.runWSProfile(Unknown Source)
at com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.executeCommand(Unknown Source)
at com.ibm.ws.pmt.wizards.fragments.ProgressPanel.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)
| |
|
| "error=5" looks like an access denied.
The error excerpt comes from AppSrv02-create.log, I suppose.
What's in wsadminListener.log ?
| |
| Brian S Paskin 2007-07-30, 1:23 pm |
| Hi, I believe error=5 is an Access Denied error. Check to make sure you have the the correct rights to create the directory and are able to execute the commands.
Brian
| |
|
| Which version of Windows are you using ? (Vista UAC and RAD are not good
friends yet)
| |
|
| I am using Windows XP
I am seeing following Warning in pmt.log But it continues after the Warning and locates the profile template in WEBSERVICES directory.
There is no wsadminListener.log
<date>2007-07-30T13:43:29</date>
<millis>1185817409850</millis>
<sequence>13</sequence>
<logger>com.ibm.ws.pmt.extensions.Template</logger>
<level>WARNING</level>
<class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
<method>logException</method>
<thread>10</thread>
<message>com.ibm.wsspi.profile.WSProfileException: Cannot locate template metadata: No profile template metadata file exists at path C:\Program Files\IBM\SDP70\runtimes\base_v61\profil
eTemplates\cell\templateMetadata.xml
at com.ibm.wsspi.profile.WSProfileTemplate. validateProfileTemplateOnFileSystem(WSPr
ofileTemplate.java:1146)
at com.ibm.wsspi.profile.WSProfileTemplate.<init>(WSProfileTemplate.java:84)
at com.ibm.ws.pmt.extensions.Template.<init>(Template.java:36)
at com.ibm.ws.pmt.extensions.TemplateExtensionManager.loadTemplates(TemplateExtensionManager.java:48)
at com.ibm.ws.pmt.extensions.TemplateExtensionManager. getTemplatesByAction(TemplateExtensionMa
nager.java:132)
at com.ibm.ws.pmt.action.AugmentActionEnabler. augmentingTemplatesExist(AugmentActionEn
abler.java:64)
at com.ibm.ws.pmt.action.AugmentActionEnabler.isActionEnabled(AugmentActionEnabler.java:37)
at com.ibm.ws.pmt.extensions.ActionExtensionManager.loadActions(ActionExtensionManager.java:100)
at com.ibm.ws.pmt.extensions.ActionExtensionManager.getActions(ActionExtensionManager.java:217)
at com.ibm.ws.pmt.views.PMTView.<init>(PMTView.java:36)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1300)
| |
|
| Can't propose better than:
* try the failing command in a command prompt and hope it tells more
* try to post in a WebSphere Studio / Rational group
* open a PMR
| |
|
|
This problem has been traced to permission issue. Change the permissions and was abel to create a profile.
thanks everyone for quick resonses.
|
|
|
|