-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception on deploy of Fighterfish HTTP HelloWorld Sample to Payara #30
Comments
I have the same issue. In my case I am using the default domain domain1 and I get this exception after deploying the OSGI admin console web interface. The installation was done by unpacking glassfish-osgi-gui-5.0-b24.zip and glassfish-osgi-http-5.0-b24.zip into the payara installation. Both of these zip files where obtained from maven.glassfish.org. |
Payara has changed several things in the web application code where the current approach to creating the WebModule used by the HttpService will not work. Instead it appears to be necessary to use WebContainer.loadWebModule to create the WebModule. The following patch works for us on both Payara 5.194 and Glassfish 5.1:
|
@romain-grecourt can you review this? |
Hi
I am trying to run fighterfish osgihttp example in Payara 5.184 without success.
When deploying the built jar file via asadmin command line to a new domain the following exception
... deleted serveral lines
The line
at org.glassfish.fighterfish.sample.osgihttp.helloworld.HelloWorldHttpActivator.start(HelloWorldHttpActivator.java:39)
is
tracker = new ServiceTracker(context, HttpService.class.getName(), null) {
I created a new domain
./asadmin create-domain --portbase 16000 osgi-sample
and Deployed OSGI bundle via command line
./asadmin --port 16048 deploy --type osgi --force /usr/local/gfdeploy/sample.osgihttp.helloworld.jar
I posted this initially in the Payara forum
The text was updated successfully, but these errors were encountered: