Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8530319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:13:55+00:00 2026-06-11T09:13:55+00:00

i call a simple endpoint-method from client. MyStatus getStatus(Car car) throws NoSuchCarException; what i

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:13:55+00:00Added an answer on June 11, 2026 at 9:13 am

    The problem might be that there are two many applications deployed into your container or application server. java.lang.OutOfMemoryError: PermGen space is 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 log4j or slf4j or whatever framework you are using to server ‘s global libraries, then create a log4j.properties file like this (if you’re using log4j):

    log4j.rootLogger=INFO,stdout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %X{file} %c{1} - %m%n
    
    ####################### YourService ######################
    log4j.logger.com.yourservice.servicename=DEBUG,servicename
    log4j.additivity.com.yourservice.servicename=false
    log4j.logger.servicename=DEBUG,servicename
    log4j.additivity.servicename=false
    log4j.appender.servicename=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.servicename.File=C:\\Servers\\glassfish-3.1.2\\gf-app-logs\\servicename.log
    log4j.appender.servicename.DatePattern='.'yyyy-MM-dd
    log4j.appender.servicename.layout=org.apache.log4j.PatternLayout
    log4j.appender.servicename.layout.ConversionPattern=%d [%t] %-5p %X{file} %c{1} %m%n
    log4j.appender.servicename.ImmediateFlush=true
    ########################################################
    

    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, this log4j.properties file, needs to be added into: &{base.dir}\glassfish-3.1.2\glassfish3\glassfish\domains\domain1\config

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to call simple Web Method from JSON but I am getting errors.
I have a simple WCF service that I call server side from code behind
I tried to call a simple messagebox from the console using: osascript -e display
i am creating simple call filter application which restrict unwanted calls. i use following
When I try to call this simple function in a CFC, with the proper
How can I get a simple call back when a HID device, or at
I'm creating a simple ajax call to retrieve a list of user reviews. I
I want to create a simple AJAX call, based on How to use Servlets
I'm having hard time with this simple ajax call function sendreq() { $.ajax({ dataType:
The following code is a very simple ajax call to server that alerts back

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.