users@glassfish.java.net

RE: Eclipse breaks when GlassFish publishes

From: Wim V <wim_at_pizzastop.be>
Date: Wed, 18 Jun 2008 01:47:47 +0200

CORRECTION : JAVA_HOME should have been CLASSPATH

I have to correct myself, sorry, it's been a while since I did this.
Java_home will always be set to .../jdk1.0.6_06.

The difference I mentioned is in this CLASSPATH environment variable.
(/jdk1.0.6_06/jre/lib <-> /jdk1.0.6_06/lib)
Same thing goes for the path variable. There's a java.exe in
/jdk1.0.6_06/bin and one in jdk1.0.6_06/jre/bin. Then one referenced from
the path will be used (and in my case it is the jdk one, this is the change
I'm talking about which was required for solving the eclipse error).

Also, while being at it, you might want to check. I have a AS_HOME system
variable pointing to [glassfish-install-dir], M2_HOME pointing to
[maven2-unzip-dir], and MAVEN_OPTS = -Xms256m -Xmx512m

As I said, just some thoughts.

Wim

-----Original Message-----
From: Wim V [mailto:wim_at_pizzastop.be]
Sent: woensdag 18 juni 2008 1:28
To: users_at_glassfish.dev.java.net
Subject: RE: Eclipse breaks when GlassFish publishes

Hi Gary,

I've taken a look at the tread on
http://forums.java.net/jive/thread.jspa?messageID=279748

Probably this won't help, (just not disappoint you again)
But some thoughts...(maybe even wild guesses)

Are you using maven within eclipse? Have you ever had the eclipse error
"Eclipse is running in a JRE, ..." and I'm not sure how it continues but it
tells you it needs a JDK. This may have had you change your JAVA_HOME to
jdk/ instead of jdk/jre. Please check. With this in mind, you could also try
changing glassfish's jvm-option -client to -server.

Furthermore, I notice the exception is trown during a SocketAccept().
Stupid idea maybe, but you wouldn't happen to have windows firewall turned
on? (Or any other. Norton antivirus/inet security is known for this kind of
sheiss, ie blocking connections from localhost to localhost).

Probably you will have tried all of this already, but it was not mentioned
in the thread and it crossed my mind.

regards,

Wim

-----Original Message-----
From: Rochelle.Raccah_at_Sun.COM [mailto:Rochelle.Raccah_at_Sun.COM]
Sent: dinsdag 17 juni 2008 23:40
To: users_at_glassfish.dev.java.net
Subject: Re: Eclipse breaks when GlassFish publishes

Hi Gary,

A couple more suggestions:
1) Try the new Eclipse 3.4 RC build
(<http://build.eclipse.org/technology/epp/epp_build/34/download/20080615-061
0/index.html>)
Make sure you try with a new workspace.

2) If that doesn't work, perhaps we could set up a vnc session and we
can try to help you with your environment.

Thanks,
Rochelle


glassfish_at_javadesktop.org wrote:
> vbk:
> Well, after trying everything you said to do, and after taking a few days
to get over my extreme disappointment, unfortuantely I have to say that I am
still having the problem of eclipse closing when GF publishes.
>
> I started and stopped the erver with asadmin successfully. I received no
errors when completing this exercise. I can post the command prompt
messages from the execution of these commands if you care to see them.
>
> Anyway, I remain frustrated and annoyed about all this. I know you have
the same OS (VISTA Business) as I have. I believe we have the same versions
of Eclispse, GlassFish and SUN SDK installed. But you do not have the
issues that I have.
>
> Unless you or anybody else can offer some additional insites as to what my
problem is ( configuration issues?) I'm thinking my next step is to not use
GF but instead ask what other JEE server I could use in order to go forward
with my project.
>
> Thank you again for your time here. I look forward to your or anybody
else's suggestions. If you care to know about any of the config settings I
have concerning this issue please post.
>
> Gary
> [Message sent by forum member 'gmarshall56' (gmarshall56)]
>
> http://forums.java.net/jive/thread.jspa?messageID=279704
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net