users@glassfish.java.net

Re: An error when perform "./asadmin start-domain domain1"

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Sat, 31 Aug 2013 10:59:03 -0700

It says that there is no element named server in domain.xml
Is that the case?


On 8/31/13 9:13 AM, forums_at_java.net wrote:
> Hi, Mcroft, I doubted "domain.xml", too. I found a command
> "verify-domain-xml" in the other thread, and, I tried. The response is
> "valid". You can find the response in the attachment. And, I installed
> Glassfish4 with "java_ee_sdk-7-jdk7-linux-x64.sh" package, I
> downloaded it
> from oracle website. And, I downloaded glassfish zip package from oracle
> website, too. The response was really different, but cannot work
> still. The
> response is "There is a process already using the admin port 4848 -- it
> probably is another instance of a GlassFish server. Command start-domain
> failed." Somebody said in the other thread, this solution of this kind of
> response is "changing the "hosts" file in /etc, change the
> "localhost.localdomain" in 127.0.0.1 line to real server name". I did it
> accordingly. And, the response changed to "Waiting for domain1 to start
> .Error starting domain domain1. The server exited prematurely with
> exit code
> 1. Before it died, it produced the following output: Error occurred
> during
> initialization of VM java/lang/ClassNotFoundException: error in
> opening JAR
> file /nerov/glassfish3/glassfish/modules/endorsed/._jaxb-api-osgi.jar
> Command
> start-domain failed." I almost dropped off from my seat and wanna
> throw my
> MAC to the wall at that time, I guess you can understand my feeling. T_T
>
> --
>
> [Message sent by forum member 'Chris_QSS']
>
> View Post: http://forums.java.net/node/898508
>
>
>

-- 
---
All Generalizations are false.  Including this one.