Welcome, Guest. Please Login or Register
WebLab Project
  You can now retrieve WebLab Core sources from our OW2 SVN
  Warning ! This forum is now locked, new posts have been disabled. If you want to contact us about a problem or have question, please use the following mailing list:
user@weblab-project.org !
  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
Send Topic Print
Problem with Petals on Mac (Read 427 times)
22.02.2010 at 23:18:27

fizz-x   Offline
WebLab Newbies
I Love WebLab

Posts: 3
*
 
Dear all,

I'm trying to launch the Weblab demo but Petals isn't working.

I've set my JAVA_HOME variable to my JDK directory and include the bin to the PATH variable. But when i try launching petals, I have this error:
Code:
PEtALS ESB is starting...
[petals.RMI]-INFO 2010-02-22 23:02:30,590 JMX RMI server started at : service:jmx:rmi:///jndi/rmi://localhost:7700/jmxRmiConnector
Problem while starting PEtALS, try to stop PEtALS cleanly...
Command processing error : start
org.ow2.petals.kernel.api.server.PetalsException: Problem while starting PEtALS
	at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:241)
	at org.ow2.petals.launcher.AbstractLauncher.start(AbstractLauncher.java:190)
	at org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:147)
	at org.ow2.petals.distribution.standalone.Main.main(Main.java:42)
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
	at java.io.File.<init>(File.java:363)
	at org.ow2.petals.jbi.management.util.PackageHelper.getPackageURI(PackageHelper.java:261)
	at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllComponent(SystemRecoveryServiceImpl.java:217)
	at org.ow2.petals.jbi.management.recovery.SystemRecoveryServiceImpl.recoverAllEntities(SystemRecoveryServiceImpl.java:629)
	at org.objectweb.fractal.julia.generated.Cddade772_0.recoverAllEntities(INTERCEPTOR[SystemRecoveryService])
	at org.objectweb.fractal.julia.generated.Ca30db3f3_0.recoverAllEntities(INTERFACE[SystemRecoveryService])
	at org.ow2.petals.kernel.server.PetalsServerImpl.recoverSystem(PetalsServerImpl.java:574)
	at org.ow2.petals.kernel.server.PetalsServerImpl.start(PetalsServerImpl.java:224)
	... 3 more
 



I don't have any idea of the problem, it work fine with my linux and windows systems. Can someone help me please?

Thank u.
 
IP Logged
 
Reply #1 - 03.03.2010 at 11:55:34

Yann Mombrun   Offline
WebLab Administrator
I Love WebLab
Val de Reuil, France

Gender: male
Posts: 79
*****
 
I think that the install script has not been fully tested under a Mac.
A first point, is that PEtALS is using default platform encoding and it's possible that the MacRoman encoding is the failure cause. So I encourage you to change startup.sh in PEtALS/bin directory by adding a
-file.encoding=UTF-8
in the java command line.
It's also possible that PEtALS itself is working but not the installed component.
What you can do is :
- save the various component zips (bc-soap, se-orchestra, weblab-services and weblab-bpel)
- while petals is stopped, remove the file system-state.xml in repository directory.
- restart petals (it shall works)
- copy bc-soap and se-orchestra in the install directory
-wait during the installation
- copy weblab-services and weblab-bpel in the same directory

Does-it work ?
« Last Edit: 31.03.2010 at 08:45:55 by Yann Mombrun »  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print