Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

View: New views
10 Messages — Rating Filter:   Alert me  

Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Baptiste MATHUS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm currently stuck with this problem. I already read https://docs.sonatype.com/display/NX/Nexus+FAQ#NexusFAQ-Q.Whycan%27tIdeploytheWARintoGlassFishserver%3F and http://www.sonatype.com/books/nexus-book/reference/install-sect-as-a-war.html#d0e829 (which, btw, doesn't say completely the same thing. If you follow the "book" documentation, you get an error saying that the logfile wasn't defined).

Anyway, I guess I did that correctly and I'm now stuck with something bizarre... But I'm quite used to it with Aix JVM...

When I deploy nexus 1.3.4, apart from the fact that "asadmin stop-domain" will become unusable ending with a NPE, I'll only get an *almost* empty page when opening the nexus webapp (see http://imagebin.ca/view/izcLwN7.html to understand what I mean by "almost empty").

Note that when I deploy under windows, it seems like the webapp is accessible (it seems to display nexus interface correctly), but it will just prevent glassfish from stopping properly.

I want to run nexus inside GF for two reasons: I want to run it along the already running hudson webapp (and only using one port for webapps), and because the jsw won't work for AIX (I already had the very same problem with sonar in the past). And I run it on AIX because AIX is our client platform, so we run almost all our server under AIX.

I don't really know where to look. Do you have any idea of what could be going on?

Thanks in advance.
Cheers

Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Damian Bradicich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Not sure about running the war in glassfish/aix, but there are aix wrapper files available, see the faq entry http://nexus.sonatype.org/about/faq.html#nbspQWherecanIfindstartupscriptsforOSsnotincludedinthebundle
 
Unless of course you are experiencing some other problem with jsw running on aix
 
Damian

On Mon, Jun 29, 2009 at 10:11 AM, Baptiste MATHUS <ml@...> wrote:

Hi all,

I'm currently stuck with this problem. I already read
https://docs.sonatype.com/display/NX/Nexus+FAQ#NexusFAQ-Q.Whycan%27tIdeploytheWARintoGlassFishserver%3F
and
http://www.sonatype.com/books/nexus-book/reference/install-sect-as-a-war.html#d0e829
(which, btw, doesn't say completely the same thing. If you follow the "book"
documentation, you get an error saying that the logfile wasn't defined).

Anyway, I guess I did that correctly and I'm now stuck with something
bizarre... But I'm quite used to it with Aix JVM...

When I deploy nexus 1.3.4, apart from the fact that "asadmin stop-domain"
will become unusable ending with a NPE, I'll only get an *almost* empty page
when opening the nexus webapp (see http://imagebin.ca/view/izcLwN7.html to
understand what I mean by "almost empty").

Note that when I deploy under windows, it seems like the webapp is
accessible (it seems to display nexus interface correctly), but it will just
prevent glassfish from stopping properly.

I want to run nexus inside GF for two reasons: I want to run it along the
already running hudson webapp (and only using one port for webapps), and
because the jsw won't work for AIX (I already had the very same problem with
sonar in the past). And I run it on AIX because AIX is our client platform,
so we run almost all our server under AIX.

I don't really know where to look. Do you have any idea of what could be
going on?

Thanks in advance.
Cheers
--
View this message in context: http://www.nabble.com/Unable-to-run-Nexus-1.3.4-with-Glassfishv2ur2-on-Aix-tp24254841p24254841.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What about using Jetty instead of Glassfish?

On Mon, Jun 29, 2009 at 10:25 AM, Damian Bradicich <dbradicich@...> wrote:
Not sure about running the war in glassfish/aix, but there are aix wrapper files available, see the faq entry http://nexus.sonatype.org/about/faq.html#nbspQWherecanIfindstartupscriptsforOSsnotincludedinthebundle
 
Unless of course you are experiencing some other problem with jsw running on aix
 
Damian

On Mon, Jun 29, 2009 at 10:11 AM, Baptiste MATHUS <ml@...> wrote:

Hi all,

I'm currently stuck with this problem. I already read
https://docs.sonatype.com/display/NX/Nexus+FAQ#NexusFAQ-Q.Whycan%27tIdeploytheWARintoGlassFishserver%3F
and
http://www.sonatype.com/books/nexus-book/reference/install-sect-as-a-war.html#d0e829
(which, btw, doesn't say completely the same thing. If you follow the "book"
documentation, you get an error saying that the logfile wasn't defined).

Anyway, I guess I did that correctly and I'm now stuck with something
bizarre... But I'm quite used to it with Aix JVM...

When I deploy nexus 1.3.4, apart from the fact that "asadmin stop-domain"
will become unusable ending with a NPE, I'll only get an *almost* empty page
when opening the nexus webapp (see http://imagebin.ca/view/izcLwN7.html to
understand what I mean by "almost empty").

Note that when I deploy under windows, it seems like the webapp is
accessible (it seems to display nexus interface correctly), but it will just
prevent glassfish from stopping properly.

I want to run nexus inside GF for two reasons: I want to run it along the
already running hudson webapp (and only using one port for webapps), and
because the jsw won't work for AIX (I already had the very same problem with
sonar in the past). And I run it on AIX because AIX is our client platform,
so we run almost all our server under AIX.

I don't really know where to look. Do you have any idea of what could be
going on?

Thanks in advance.
Cheers
--
View this message in context: http://www.nabble.com/Unable-to-run-Nexus-1.3.4-with-Glassfishv2ur2-on-Aix-tp24254841p24254841.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...




Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Baptiste MATHUS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Damian, Hi Brian,

* Yes, I saw this link. I already tried a lot to run JSW on our Aix. I never managed to do it. It might be because we have something (from what I understood of our sysadmin) like 64 bits running in 32 bits mode. Anyway, each time I try running jsw, I get a core dump with the 32 bits, or a start-but-doesnt-work with 64 bits mode...

I might try this, but I wanted to run both hudson and nx under the same port. But I guess I might be forced to run them separately, maybe at least to be able to find hints about what's going wrong with nx deployment.

* Well, using jetty isn't really an option for me since this GF instance already runs hudson without the least problem. Hudson worked out of the box just after being deployed. I wanted to try and understand what could prevents nexus from behaving the same.

Thanks.

Brian Fox wrote:
What about using Jetty instead of Glassfish?

On Mon, Jun 29, 2009 at 10:25 AM, Damian Bradicich
<dbradicich@sonatype.com>wrote:

> Not sure about running the war in glassfish/aix, but there are aix wrapper
> files available, see the faq entry
> http://nexus.sonatype.org/about/faq.html#nbspQWherecanIfindstartupscriptsforOSsnotincludedinthebundle
>
> Unless of course you are experiencing some other problem with jsw running
> on aix
>
> Damian
>
> On Mon, Jun 29, 2009 at 10:11 AM, Baptiste MATHUS <ml@batmat.net> wrote:
>
>>
>> Hi all,
>>
>> I'm currently stuck with this problem. I already read
>>
>> https://docs.sonatype.com/display/NX/Nexus+FAQ#NexusFAQ-Q.Whycan%27tIdeploytheWARintoGlassFishserver%3F
>> and
>>
>> http://www.sonatype.com/books/nexus-book/reference/install-sect-as-a-war.html#d0e829
>> (which, btw, doesn't say completely the same thing. If you follow the
>> "book"
>> documentation, you get an error saying that the logfile wasn't defined).
>>
>> Anyway, I guess I did that correctly and I'm now stuck with something
>> bizarre... But I'm quite used to it with Aix JVM...
>>
>> When I deploy nexus 1.3.4, apart from the fact that "asadmin stop-domain"
>> will become unusable ending with a NPE, I'll only get an *almost* empty
>> page
>> when opening the nexus webapp (see http://imagebin.ca/view/izcLwN7.htmlto
>> understand what I mean by "almost empty").
>>
>> Note that when I deploy under windows, it seems like the webapp is
>> accessible (it seems to display nexus interface correctly), but it will
>> just
>> prevent glassfish from stopping properly.
>>
>> I want to run nexus inside GF for two reasons: I want to run it along the
>> already running hudson webapp (and only using one port for webapps), and
>> because the jsw won't work for AIX (I already had the very same problem
>> with
>> sonar in the past). And I run it on AIX because AIX is our client
>> platform,
>> so we run almost all our server under AIX.
>>
>> I don't really know where to look. Do you have any idea of what could be
>> going on?
>>
>> Thanks in advance.
>> Cheers
>> --
>> View this message in context:
>> http://www.nabble.com/Unable-to-run-Nexus-1.3.4-with-Glassfishv2ur2-on-Aix-tp24254841p24254841.html
>> Sent from the Nexus Maven Repository Manager Users List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
>> For additional commands, e-mail: nexus-user-help@sonatype.org
>>
>>
>

Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Juven Xu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After removing the console appender form Nexus' log4j.properties, the WAR should work on Glassfish. At least we tested it on Linux and Windows.

But not sure on AIX :(

On Mon, Jun 29, 2009 at 10:55 PM, Baptiste MATHUS <ml@...> wrote:

Hi Damian, Hi Brian,

* Yes, I saw this link. I already tried a lot to run JSW on our Aix. I never
managed to do it. It might be because we have something (from what I
understood of our sysadmin) like 64 bits running in 32 bits mode. Anyway,
each time I try running jsw, I get a core dump with the 32 bits, or a
start-but-doesnt-work with 64 bits mode...

I might try this, but I wanted to run both hudson and nx under the same
port. But I guess I might be forced to run them separately, maybe at least
to be able to find hints about what's going wrong with nx deployment.

* Well, using jetty isn't really an option for me since this GF instance
already runs hudson without the least problem. Hudson worked out of the box
just after being deployed. I wanted to try and understand what could
prevents nexus from behaving the same.

Thanks.


Brian Fox wrote:
>
> What about using Jetty instead of Glassfish?
>
> On Mon, Jun 29, 2009 at 10:25 AM, Damian Bradicich
> <dbradicich@...>wrote:
>
>> Not sure about running the war in glassfish/aix, but there are aix
>> wrapper
>> files available, see the faq entry
>> http://nexus.sonatype.org/about/faq.html#nbspQWherecanIfindstartupscriptsforOSsnotincludedinthebundle
>>
>> Unless of course you are experiencing some other problem with jsw running
>> on aix
>>
>> Damian
>>
>> On Mon, Jun 29, 2009 at 10:11 AM, Baptiste MATHUS <ml@...> wrote:
>>
>>>
>>> Hi all,
>>>
>>> I'm currently stuck with this problem. I already read
>>>
>>> https://docs.sonatype.com/display/NX/Nexus+FAQ#NexusFAQ-Q.Whycan%27tIdeploytheWARintoGlassFishserver%3F
>>> and
>>>
>>> http://www.sonatype.com/books/nexus-book/reference/install-sect-as-a-war.html#d0e829
>>> (which, btw, doesn't say completely the same thing. If you follow the
>>> "book"
>>> documentation, you get an error saying that the logfile wasn't defined).
>>>
>>> Anyway, I guess I did that correctly and I'm now stuck with something
>>> bizarre... But I'm quite used to it with Aix JVM...
>>>
>>> When I deploy nexus 1.3.4, apart from the fact that "asadmin
>>> stop-domain"
>>> will become unusable ending with a NPE, I'll only get an *almost* empty
>>> page
>>> when opening the nexus webapp (see
>>> http://imagebin.ca/view/izcLwN7.htmlto
>>> understand what I mean by "almost empty").
>>>
>>> Note that when I deploy under windows, it seems like the webapp is
>>> accessible (it seems to display nexus interface correctly), but it will
>>> just
>>> prevent glassfish from stopping properly.
>>>
>>> I want to run nexus inside GF for two reasons: I want to run it along
>>> the
>>> already running hudson webapp (and only using one port for webapps), and
>>> because the jsw won't work for AIX (I already had the very same problem
>>> with
>>> sonar in the past). And I run it on AIX because AIX is our client
>>> platform,
>>> so we run almost all our server under AIX.
>>>
>>> I don't really know where to look. Do you have any idea of what could be
>>> going on?
>>>
>>> Thanks in advance.
>>> Cheers
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Unable-to-run-Nexus-1.3.4-with-Glassfishv2ur2-on-Aix-tp24254841p24254841.html
>>> Sent from the Nexus Maven Repository Manager Users List mailing list
>>> archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>>> For additional commands, e-mail: nexus-user-help@...
>>>
>>>
>>
>
>

--
View this message in context: http://www.nabble.com/Unable-to-run-Nexus-1.3.4-with-Glassfishv2ur2-on-Aix-tp24254841p24255716.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...




--
- juven

Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Ryan J :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have exactly the same problem on Linux.

Ubuntu 9.04 Server i386
Java 1.6.0_14-b08
Glassfish v2.1 b60e
Nexus 1.3.6

I struggled through the documentation. For consistency, the docs references by the OP should say $plexus.nexus-work/conf/log4j.properties instead of $work-dir/conf/log4j.properties.  The stale WEB-INF/log4j.properties file in the .war is also confusing.  It should be removed or mentioned in the docs.

I can get Nexus to deploy and it appears to function, but it breaks Glassfish shutdown using asadmin.  I have to kill the process by hand.

Ryan

Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by brantb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Same problem I had with pretty much the same setup. I regret to say I have to run nexus in a separate process :(

On Sun, Aug 16, 2009 at 4:20 AM, Ryan J <ryan%2Bnabble@...> wrote:

I have exactly the same problem on Linux.

Ubuntu 9.04 Server i386
Java 1.6.0_14-b08
Glassfish v2.1 b60e
Nexus 1.3.6

I struggled through the documentation. For consistency, the docs references
by the OP should say $plexus.nexus-work/conf/log4j.properties instead of
$work-dir/conf/log4j.properties.  The stale WEB-INF/log4j.properties file in
the .war is also confusing.  It should be removed or mentioned in the docs.

I can get Nexus to deploy and it appears to function, but it breaks
Glassfish shutdown using asadmin.  I have to kill the process by hand.

Ryan

--
View this message in context: http://www.nabble.com/Unable-to-run-Nexus-1.3.4-with-Glassfishv2ur2-on-Aix-tp24254841p24991399.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Jason van Zyl-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry for the delay. The code is still not in a fully working version but if you want to take a look at it I can set you up at Github.


On 17-Aug-09, at 10:07 PM, Brant Boehmann wrote:

Same problem I had with pretty much the same setup. I regret to say I have to run nexus in a separate process :(

On Sun, Aug 16, 2009 at 4:20 AM, Ryan J <ryan%2Bnabble@...> wrote:

I have exactly the same problem on Linux.

Ubuntu 9.04 Server i386
Java 1.6.0_14-b08
Glassfish v2.1 b60e
Nexus 1.3.6

I struggled through the documentation. For consistency, the docs references
by the OP should say $plexus.nexus-work/conf/log4j.properties instead of
$work-dir/conf/log4j.properties.  The stale WEB-INF/log4j.properties file in
the .war is also confusing.  It should be removed or mentioned in the docs.

I can get Nexus to deploy and it appears to function, but it breaks
Glassfish shutdown using asadmin.  I have to kill the process by hand.

Ryan

--
View this message in context: http://www.nabble.com/Unable-to-run-Nexus-1.3.4-with-Glassfishv2ur2-on-Aix-tp24254841p24991399.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
----------------------------------------------------------

the course of true love never did run smooth ...

 -- Shakespeare


Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Ryan J :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I ended up grabbing the bundle.  It was simple to install and works perfectly.  Since I don't have a specific requirement of running on Glassfish the bundle will do for me.

Ryan

Jason van Zyl-5 wrote:
Sorry for the delay. The code is still not in a fully working version  
but if you want to take a look at it I can set you up at Github.

Re: Unable to run Nexus 1.3.4 with Glassfishv2ur2 on Aix

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Aug 20, 2009 at 3:24 AM, Ryan J<ryan+nabble@...> wrote:
>
> I ended up grabbing the bundle.  It was simple to install and works
> perfectly.  Since I don't have a specific requirement of running on
> Glassfish the bundle will do for me.


This is the best approach since we can better support the embedded
Jetty container.

We don't know of any issues shutting down other containers so why
Glassfish refuses to shutdown is curious.

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...