× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



James,

WAS is not an option, as we run an embedded approach where we may have
several instances each serving their own purpose and port. This is to allow
each instance to inherit things from the launching process.

It doesn't inject? That is interesting, as the injection mechanism is
managed by JSF so it should be available in JSF pages. Perhaps WAS isn't
fully Servlet 2.5 API compliant?

Jetty runs quite nicely in PASE. You essentially just need to start QSH, cd
to the jetty-X.Y folder and run "java -jar start.jar". We need a custom
launcher to pick up the configuration and pass it to Jetty, so I looked up
on the documentation for embedding Jetty, and got it working quite nicely,
but there is a lot of things you need to figure out yourself. We were
specially interested in having a central slf4j configuration which required
some tinkering with classloaders, as well as JNDI for centralized, pooled
and preconfigured org.ibm.access.AS400 objects, which has worked reasonably
well.

We would like to migrate from a Servlet 2.5 API baseline to a Java EE 6 Web
profile baseline, and the way to do that these days is to embed Glassfish,
perhaps even in an OSGi container to emulate the library list.

Hence my interest in getting this to run natively.

/Thorbjørn


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of James Perkins
Sent: 3. september 2010 18:04
To: Java Programming on and around the IBM i
Subject: Re: Glassfish 3.0.1 on the AS/400.

Thorbjørn,
I was never successful personally at getting it running. Not sure if
WebSphere Application Server V7 is an option, but I successfully got JSF 2.0
working with it without many troubles. The only issue I have is that it
doesn't inject resources into JSF managed beans. I'll need to write an
injector for that.

As an aside, how did you get Jetty running on an IBM i?

--
James R. Perkins


2010/9/3 Thorbjørn Ravn Andersen <thunderaxiom@xxxxxxxxxxx>

Back in January we discussed if Glassfish 3 could run on the AS/400, and
found that the standard distribution did not work well in PASE.



I am now in a situation close to a deadline where my OpenFaces JSF 2.0 web
application code works well under Glassfish 3.0.1 on my PC but gives some
obscure stack trace when wanting to do a very specific Ajax call when
running in an embedded Jetty 6 container on the AS/400.



I?d like to hear if anybody got around to get Glassfish up and running on
the AS/400 since? Embedded will be fine.



Anyone?



Thanks.



/Thorbjørn

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.