Link to home
Start Free TrialLog in
Avatar of Jay Roy
Jay RoyFlag for United States of America

asked on

Trying to create a profile in RAD 7.5 but failing

hi guys
trying to create a profile in RAD 7.5 but it doesnt do anything
steps
I select "websphere application server v7.0  installation directory: c:\progfiles\ibm\sdp\runtimes\base_v7"

I click on Run profile management tool..a new window opens and i select the appropriate values.

once i come to the profile Name and Location screen, the profile name is AppSrv01 and profile directory is
"C:\Program Files\ibm\SDP\runtimes\base_v7\profiles\AppSrv01 " 
BUT the problem is i dont have admin previleges
in the directory (C:\Program Files\ibm\SDP\runtimes\base_v7) so 'profiles' folder cant be created there.
 so i change the profile directory to 'C:\Documents and Settings\jay\Desktop\Myprofiles'

I created Myprofiles directory on desktop and want to store all my profiles there.
So when i point the profile directory value to "C:\Documents and Settings\jay\Desktop\Myprofiles" the eror goes away but i reach the last screen and when i click 'next' nothing happens
( i have attached the last screen image)

so my question is Does the profile directory have to be under C:\Program Files\ibm\SDP\runtimes\base_v7 or can it be any location under c:\ directory
a prompt response is very much appreiciated
thanks very much

 test.doc
Avatar of HonorGod
HonorGod
Flag of United States of America image

Q: Does the profile directory have to be under C:\Program Files\ibm\SDP\runtimes\base_v7 or can it be any location under c:\ directory

A: It can be anywhere.  Normally however, all profiles will be created in the same directory structure, but this is not a requirement.
    For example, consider the situation where multiple developers exist, and have some configuration related privileges as far as WebSphere is concerned.  It is quite reasonable for each to have a profile (directory) that is local to their OS "home" environment, or even to a common development directory.

Hopefully this helps
The operating system was kept you from creating the profile in the specified location.  It wasn't the manageprofiles command...
Avatar of Jay Roy

ASKER

If you look at my attachment, when i click on the next button, nothing happens, i dont get any message or
it doesnt say what error it is which is frustrating. i think its a bug in RAD 7.5
Ah, sorry, I hadn't realized that.

I haven't used that (i.e., the profile management tool) because the GUI isn't supported on 64 bit systems.
So, I use the manageprofile command instead:

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.migration.nd.doc/info/ae/ae/rxml_manageprofiles.html
Avatar of Jay Roy

ASKER

do you think using manageprofile command could solve the problem?

thanks
I believe that it is certainly worth trying.

It may be that an error  (e.g., an OS error) is being encountered that the GUI isn't displaying for some reason.
Avatar of Jay Roy

ASKER

ok i am in
C:\PROGRA~1\ibm\SDP\runtimes\base_v7\bin>
and i see the  manageprofiles.bat

i am trying to create the profile using >>managepfofiles -create but i get the error.

-------------------------------
C:\PROGRA~1\ibm\SDP\runtimes\base_v7\bin>manageprofiles -create
!SESSION 2010-10-21 10:49:04.382 ----------------------------------------------

eclipse.buildId=M20060921-0945
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20080816_220
3 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_lHdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -application com.ibm.ws.bootstrap.WSLauncher
Command-line arguments:  -application com.ibm.ws.bootstrap.WSLauncher

!ENTRY org.eclipse.osgi 4 0 2010-10-21 10:49:04.601
!MESSAGE Error reading configuration: C:\Program Files\ibm\SDP\runtimes\base_v7
configuration\org.eclipse.osgi\.manager\.fileTableLock (The system cannot find
he path specified.)
!STACK 0
java.io.FileNotFoundException: C:\Program Files\ibm\SDP\runtimes\base_v7\config
ration\org.eclipse.osgi\.manager\.fileTableLock (The system cannot find the pat
 specified.)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:218)
        at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker
JavaNio.java:30)
        at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.j
va:387)
        at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.j
va:694)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(Ba
eStorage.java:152)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseSto
age.java:129)
        at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdapt
r.java:124)
        at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framew
rk.java:138)
        at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.
ava:112)
        at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.j
va:90)
        at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStart
r.java:286)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.j
va:173)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:45)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:599)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
        at org.eclipse.core.launcher.Main.run(Main.java:981)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.ja
a:330)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:108)
The following validation errors were present with the command line arguments:
        profilePath: The profile path is not valid.
-------------------------------

since i dont have admin previleges under 'base_v7' directory its not able to create the profile i think.
i have created another directory 'Myprofile' under C:\Documents and Settings\jay\Desktop\Myprofile  
(i have admin previleges under jay directory)

i want the command to create the profile under the 'Myprofile' directory.

Any help appreciated

thanks
Avatar of Jay Roy

ASKER

i used this command to create the profile
C:\PROGRA~1\ibm\SDP\runtimes\base_v7\bin> manageprofiles.bat -create -profileName
appProfiles -profilePath C:\Docume~1\jay\Desktop\Myprofile
but got the below error
-----
C:\PROGRA~1\ibm\SDP\runtimes\base_v7\bin>manageprofiles.bat -create -profileName
appProfiles -profilePath C:\Docume~1\jaydeep.roy\Desktop\Myprofile
!SESSION 2010-10-21 11:14:34.153 -----------------------------------------------

eclipse.buildId=M20060921-0945
java.fullversion=J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20080816_2209
3 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_lHdSMr
JIT  - r9_20080721_1330ifx2
GC   - 20080724_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -application com.ibm.ws.bootstrap.WSLauncher
Command-line arguments:  -application com.ibm.ws.bootstrap.WSLauncher

!ENTRY org.eclipse.osgi 4 0 2010-10-21 11:14:34.356
!MESSAGE Error reading configuration: C:\Program Files\ibm\SDP\runtimes\base_v7\
configuration\org.eclipse.osgi\.manager\.fileTableLock (The system cannot find t
he path specified.)
!STACK 0
java.io.FileNotFoundException: C:\Program Files\ibm\SDP\runtimes\base_v7\configu
ration\org.eclipse.osgi\.manager\.fileTableLock (The system cannot find the path
 specified.)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:218)
        at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_
JavaNio.java:30)
        at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.ja
va:387)
        at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.ja
va:694)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(Bas
eStorage.java:152)
        at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStor
age.java:129)
        at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdapto
r.java:124)
        at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framewo
rk.java:138)
        at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.j
ava:112)
        at org.eclipse.osgi.framework.internal.core.OSGi.createFramework(OSGi.ja
va:90)
        at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:31)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarte
r.java:286)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:173)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:45)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:599)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
        at org.eclipse.core.launcher.Main.run(Main.java:981)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.jav
a:330)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:108)
INSTCONFFAILED: The profile could not be created.  For more information, consult
 the C:\PROGRA~1\ibm\SDP\runtimes\base_v7\logs\manageprofiles\create.log file.
-----

and surprisingly i dont see create.log file under C:\PROGRA~1\ibm\SDP\runtimes\base_v7\logs\manageprofiles

Any help anyone?
thanks v much.
Do you have permission to update the

C:\PROGRA~1\ibm\SDP\runtimes\base_v7\logs\

and

C:\PROGRA~1\ibm\SDP\runtimes\base_v7\logs\manageprofiles

directories?
Avatar of Jay Roy

ASKER

unfortunately i dont.
ok now i see why the logs are not getting saved there. The only place i have permissions is under C:\Documents and Settings\jay\

i can save anything under the jay folder, so i am trying to play around by having my profile directory created under C:\Documents and Settings\jay\Desktop\Myprofile
  thanks
Who has administration privileges for that machine?

Can you get them to create the profile for you?

Do you have an AppServer configured to RunAs your userid?
Avatar of Jay Roy

ASKER

but we can create the profile under C:\Documents and Settings\jay\Desktop\Myprofile
right ? or does it have to be under whatever RAD decides?
The question is if we can create the profile under 'jay' folder that would be great.
unfortunately i cant get approval for the whole machine.

thanks
ASKER CERTIFIED SOLUTION
Avatar of HonorGod
HonorGod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you can get permission to provide them with the manageprofiles command to create a profile for you, then I would provide them with the complete command that would be executed for you to create a profile in the desired location (i.e., one to which you have permission).

Does that make sense?
Avatar of Jay Roy

ASKER

got the permissions and it works fine. thanks for your help
You are very welcome.  Thanks for the grade & points

Good luck & have a great day.