eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
386 stars 144 forks source link

CONFIGURE of addon am-configurator completed with an error #4830

Closed glassfishrobot closed 13 years ago

glassfishrobot commented 16 years ago

From forum posting:

Subject: Re: The operation CONFIGURE of addon am-configurator completed with an erro From: glassfish@javadesktop.org Date: Thu, 17 Apr 2008 17:45:25 -0700 (PDT) To: users@glassfish.dev.java.net

Hi There,

"CONFIGURE of addon am-configurator completed with an error "

I know its been a month since you had this ... were you able to get this issue resolved? I am unfortunately facing with the exact issue and I just had installed java_app_platform_sdk-5_04-linux (yes I am on a linux box, running fecor core6, 32bit), and had the app server up for about a day. Then for some reason I had to restart the server and it would not come back up! After googling for hours and almost all the hits lead to your poostings. Have you been able to resolve this issue?

In a desperate attempt I ran the updatool and attemtped to uninstall all the addons, which errors, but was able to uninstall Identity and Portal. Then tried again to start the app server, got the same error with CONFIGURE of addon am-configurator completed with an error .

So, being an old windows user, decided to reboot my linux box and tried to start the server ... guess what ... thsi time it appears to have started. I say appears because I am able to get my app.to load and it works fine, but I saw this error on startup.

]$ sudo /etc/init.d/sunapp start Starting SUN APPLICATION SERVER, default domain ... Starting Domain domain1, please wait. Log redirected to /opt/java/SDK/domains/domain1/logs/server.log. Redirecting output to /opt/java/SDK/domains/domain1/logs/server.log java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1938) at com.sun.enterprise.server.PELaunch.getManifestAddonJars(PELaunch.java:306) at com.sun.enterprise.server.PELaunch.setupAddOnChain(PELaunch.java:458) at com.sun.enterprise.server.PELaunch.setupClassloaders(PELaunch.java:430) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:400) Domain domain1 is ready to receive client requests. Additional services are being started in background. Domain [domain1] is running [Sun Java System Application Server 9.1_01 (build b09d-fcs)] with its configuration and logs at: [/opt/java/SDK/domains]. Admin Console is available at http://localhost:4848. Use the same port [4848] for "asadmin" commands. User web applications are available at these URLs: [http://localhost:8080 https://localhost:8181](http://localhost:8080 https://localhost:8181). Following web-contexts are available: [/web1 /__wstx-services portletdriver ]. Standard JMX Clients (like JConsole) can connect to JMXServiceURL: [service:jmx:rmi:///jndi/rmi://officecore:8686/jmxrmi] for domain management purposes. Domain listens on at least following ports for connections: [8080 8181 4848 3700 3820 3920 8686 ]. Domain does not support application server clusters and other standalone instances.

So, it would be helpful to know if/how you resolved your issue. May be we can compare notes etc..., before I do an uninstall/reinstall [Message sent by forum member 'ramboram' (ramboram)]

http://forums.java.net/jive/thread.jspa?messageID=269853


To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net

Environment

Operating System: All Platform: Linux

Affected Versions

[v2.1]

glassfishrobot commented 6 years ago
glassfishrobot commented 16 years ago

@glassfishrobot Commented dmsinotte said: I'm seeing the same thing.

I installed glassfish-installer-v2ur1-b09d-darwin.jar on Mac OS X (10.5.2) and have been developing/ testing my own Update Center addon module. At some point along the way, this same error started to show up. From the server.log:

/Users/deryk/Apps/glassfish/lib/jhall.jar:/Users/deryk/Apps/glassfish/lib/appserv-launch.jar com.sun.enterprise.server.PELaunch start java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1768) at com.sun.enterprise.server.PELaunch.getManifestAddonJars(PELaunch.java:306) at com.sun.enterprise.server.PELaunch.setupAddOnChain(PELaunch.java:458) at com.sun.enterprise.server.PELaunch.setupClassloaders(PELaunch.java:430) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:400) [#|2008-04-29T14:58:26.829-0700|INFO|sun- appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1_01 (build b09d-fcs) ...|#]

I've tried to delete everything related to my addon but I still see this exception. I also checked to see if there were any dot files in my /addon directory as was mentioned in the forum entry. There was a .DS_Store file (something specific to Mac OS X). Removing that file did not appear to help. However, I also removed a .DS_Store file from the /lib/addons directory and after that, the exception went away.

glassfishrobot commented 16 years ago

@glassfishrobot Commented msreddy said: Thanks for providing additional info, specifically deletion of .DS_Store file from the /lib/addons which will help in fixing the issue.

glassfishrobot commented 16 years ago

@glassfishrobot Commented dmsinotte said: I should also mention that I occasionally see a .delete directory when I remove an application using the Update Center. It seems that I need to remove it manually to get rid of the exception.

glassfishrobot commented 16 years ago

@glassfishrobot Commented harpreet said: Changing miletstone from v3 to 9.1.1.

glassfishrobot commented 15 years ago

@glassfishrobot Commented sanandal said: "Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1 release whose primary release driver is SailFin. This issue will be scrubbed after this release and will be given the right priority for the next release."

glassfishrobot commented 15 years ago

@glassfishrobot Commented kumara said: Changing version from 9.1.1 to v2.1 to reflect new name/version.

glassfishrobot commented 13 years ago

@glassfishrobot Commented tmueller said: The PELaunch.java file doesn't exist in GlassFish 3.1. Marking this as won't fix.

glassfishrobot commented 16 years ago

@glassfishrobot Commented Was assigned to tmueller

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-4830

glassfishrobot commented 16 years ago

@glassfishrobot Commented Reported by msreddy

glassfishrobot commented 13 years ago

@glassfishrobot Commented Marked as won't fix on Saturday, February 12th 2011, 6:35:23 am