i call a simple endpoint-method from client.
MyStatus getStatus(Car car) throws NoSuchCarException;
what i got is:
java.lang.OutOfMemoryError: PermGen space
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:317)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:146)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:98)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
at $Proxy124.getStatus(Unknown Source)
at de.Babs.showState(Babs.java:622)
What is the problem?
How can i activate xml-logging from JAX comunication?
The problem might be that there are two many applications deployed into your container or application server.
java.lang.OutOfMemoryError: PermGen spaceis more due to system’s limitation (memory) rather than due to programming mistakes. For e.g. it could mean that there is not enough memory for some resources to be loaded. Make sure you restart your server after each deployment or redeployment.To enable logging just put needed
log4jorslf4jor whatever framework you are using to server ‘s global libraries, then create alog4j.propertiesfile like this (if you’re usinglog4j):I was using glassfish 3, all the logging appeared in this file:
C:\\Servers\\glassfish-3.1.2\\gf-app-logs\\servicename.log. For e.g. in glassfish 3, thislog4j.propertiesfile, needs to be added into:&{base.dir}\glassfish-3.1.2\glassfish3\glassfish\domains\domain1\config