-1
我想在osb服務器上發佈osb項目。但是我得到的錯誤。由於java.lang.OutOfMemoryError導致osb項目部署失敗:Java堆空間
com.bea.alsb.core.repositories.RepositoryException
at com.bea.alsb.core.internal.repositories.jar.AbstractConfigRepository.init(Unknown Source)
at com.bea.alsb.core.internal.repositories.jar.ServerConfigRepository.<init>(Unknown Source)
at com.bea.alsb.core.internal.repositories.RepositoryService.create(Unknown Source)
at com.bea.alsb.server.publish.ALSBPublishOperation.publishNewContainer(Unknown Source)
at com.bea.alsb.server.publish.ALSBPublishOperation.execute(Unknown Source)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.performTasks(WeblogicServerBehaviour.java:1311)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:855)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:686)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:539)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3027)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:341)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.alsb.server.core.ClientMBeanService$MBeanInvocationHandler.invoke(Unknown Source)
at $Proxy54.uploadJarFile(Unknown Source)
... 13 more
Caused by: java.lang.OutOfMemoryError: Java heap space
請注意,我在服務器啓動時提供了以下參數,但仍面臨同樣的問題。 XX:MaxPermSize = 512m
彼爾姆創作空間不同於堆空間。 –