Grails 3.0.9 on WebLogic 12.2.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Grails 3.0.9 on WebLogic 12.2.1

Patrice Boivin
Hi,

I am trying to deploy a Grails 3.0.9 application to WebLogic 12.2.1, although WebLogic accepts the .war file the application never seems to run.  (HTTP 503 and the application itself is listed as Failed).

Are there configuration changes I need to make to allow the Grails application to deploy to WebLogic?


Regards,
Patrice.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/5636fbd1-fca4-4399-8913-e695b1312967%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 3.0.9 on WebLogic 12.2.1

Patrice Boivin

6 views and no replies, I guess the answer was "no".

I downloaded Grails 3.2.8, the documentation has that list of Web servers which are apparently supported, but no info.  In supportedJavaEEContainers.html there is a link pointing to "known deployment issues" (http://grails.org/Deployment ) but it's blocked.

If I deploy the basic "helloworld" app in the guide to WebLogic 12c, will it work?

Regards,
Pat.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/bc3f4e81-f0ee-4e83-948d-66aa3d58947b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 3.0.9 on WebLogic 12.2.1

Patrice Boivin
In reply to this post by Patrice Boivin
Deployed, WebLogic marks it as "Active" with a green upward arrow... except that the app doesn't show the Grails page.
I tried the following URIs on the port for the target WebLogic server: /helloworld-0.1/ , /hellowworld-0.1/index.gsp, All return HTTP 404.

In WebLogic though it is listed as follows.
helloworld-0.1Web Application
REST Services Collapse Node REST Services
None to display
Web Services Collapse Node Web Services
None to display

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/8f5a8f5b-c783-48de-90cf-00932f73c951%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 3.0.9 on WebLogic 12.2.1

Patrice Boivin
Using wls-cat, I thought it might be useful to check the classloaders.

This is what I see:

System Classloaders

Type: sun.misc.Launcher$ExtClassLoader
HashCode: 437182816
Type: sun.misc.Launcher$AppClassLoader
HashCode: 414493378
Type: com.oracle.classloader.weblogic.LaunchClassLoader
HashCode: 824208363
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 649329985
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 2063480111

Application Classloaders

Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 1381691976
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 568754988
Filter: empty
Type: weblogic.utils.classloaders.ChangeAwareClassLoader
HashCode: 1647302663
Filter: empty

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/9ba6b18d-e43d-4535-bd3d-11e86300462f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 3.0.9 on WebLogic 12.2.1

Patrice Boivin
In more detail.

System Classloaders

Type: sun.misc.Launcher$ExtClassLoader
HashCode: 437182816
Classpath:
  • /D:/Java/jdk1.8.0/jre/lib/ext/access-bridge-64.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/cldrdata.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/dnsns.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/jaccess.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/jfxrt.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/localedata.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/nashorn.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunec.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunjce_provider.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunmscapi.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunpkcs11.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/zipfs.jar
Type: sun.misc.Launcher$AppClassLoader
HashCode: 414493378
Classpath:
  • /D:/Java/jdk1.8.0/lib/tools.jar
  • /D:/Oracle/FMW12c/ohs/lib/commons-configuration.jar
  • /D:/Oracle/FMW12c/ohs/lib/commons-lang.jar
  • /D:/Oracle/FMW12c/ohs/lib/commons-logging.jar
  • /D:/Oracle/FMW12c/oracle_common/modules/features/com.oracle.db.jdbc7-dms.jar
  • /D:/Oracle/FMW12c/oracle_common/modules/internal/features/jrf_wlsFmw_oracle.jrf.wls.classpath.jar
  • /D:/Oracle/FMW12c/oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b3/lib/ant-contrib.jar
  • /D:/Oracle/FMW12c/wlserver/common/derby/lib/derby.jar
  • /D:/Oracle/FMW12c/wlserver/common/derby/lib/derbyclient.jar
  • /D:/Oracle/FMW12c/wlserver/common/derby/lib/derbynet.jar
  • /D:/Oracle/FMW12c/wlserver/modules/features/oracle.wls.common.nodemanager.jar
  • /D:/Oracle/FMW12c/wlserver/server/lib/debugpatch-agent.jar
  • /D:/Oracle/FMW12c/wlserver/server/lib/weblogic.jar
Type: com.oracle.classloader.weblogic.LaunchClassLoader
HashCode: 824208363
Classpath:empty
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 649329985
Classpath:empty
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 2063480111
Classpath:empty

Application Classloaders

Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 1381691976
Classpath:empty
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 568754988
Filter: empty
Classpath:empty
Type: weblogic.utils.classloaders.ChangeAwareClassLoader
HashCode: 1647302663
Filter: empty
Classpath:
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\hk2-api-2.5.0-b03.jar
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\hk2-metadata-generator-2.5.0-b03.jar
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\hk2-utils-2.5.0-b03.jar
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\javax.inject-1.jar


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/1b725841-a0ac-4c8f-afe3-fbf8cfe69c0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Grails 3.0.9 on WebLogic 12.2.1

Eduardo Melzer
Hi Patrice,
I don't know why http://grails.org/Deployment is blocked, anyway have you set up weblogic.xml?
Try following the steps mentioned in this link to deploy a basic application:
Grails 3.1.4 will not deploy correctly as a .war on WebLogic 12c

I tried this using Grails 3.2.8 and I was able to deploy successfully (and access the grails page) to weblogic 12.1.3.

Regards,
Eduardo.

2017-03-30 15:21 GMT-03:00 Patrice Boivin <[hidden email]>:
In more detail.

System Classloaders

Type: sun.misc.Launcher$ExtClassLoader
HashCode: 437182816
Classpath:
  • /D:/Java/jdk1.8.0/jre/lib/ext/access-bridge-64.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/cldrdata.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/dnsns.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/jaccess.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/jfxrt.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/localedata.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/nashorn.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunec.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunjce_provider.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunmscapi.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/sunpkcs11.jar
  • /D:/Java/jdk1.8.0/jre/lib/ext/zipfs.jar
Type: sun.misc.Launcher$AppClassLoader
HashCode: 414493378
Classpath:
  • /D:/Java/jdk1.8.0/lib/tools.jar
  • /D:/Oracle/FMW12c/ohs/lib/commons-configuration.jar
  • /D:/Oracle/FMW12c/ohs/lib/commons-lang.jar
  • /D:/Oracle/FMW12c/ohs/lib/commons-logging.jar
  • /D:/Oracle/FMW12c/oracle_common/modules/features/com.oracle.db.jdbc7-dms.jar
  • /D:/Oracle/FMW12c/oracle_common/modules/internal/features/jrf_wlsFmw_oracle.jrf.wls.classpath.jar
  • /D:/Oracle/FMW12c/oracle_common/modules/net.sf.antcontrib_1.1.0.0_1-0b3/lib/ant-contrib.jar
  • /D:/Oracle/FMW12c/wlserver/common/derby/lib/derby.jar
  • /D:/Oracle/FMW12c/wlserver/common/derby/lib/derbyclient.jar
  • /D:/Oracle/FMW12c/wlserver/common/derby/lib/derbynet.jar
  • /D:/Oracle/FMW12c/wlserver/modules/features/oracle.wls.common.nodemanager.jar
  • /D:/Oracle/FMW12c/wlserver/server/lib/debugpatch-agent.jar
  • /D:/Oracle/FMW12c/wlserver/server/lib/weblogic.jar
Type: com.oracle.classloader.weblogic.LaunchClassLoader
HashCode: 824208363
Classpath:empty
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 649329985
Classpath:empty
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 2063480111
Classpath:empty

Application Classloaders

Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 1381691976
Classpath:empty
Type: weblogic.utils.classloaders.GenericClassLoader
HashCode: 568754988
Filter: empty
Classpath:empty
Type: weblogic.utils.classloaders.ChangeAwareClassLoader
HashCode: 1647302663
Filter: empty
Classpath:
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\hk2-api-2.5.0-b03.jar
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\hk2-metadata-generator-2.5.0-b03.jar
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\hk2-utils-2.5.0-b03.jar
  • D:\Oracle\user_projects\domains\base_domain\servers\HelloWorld\tmp\_WL_user\oracle.jrf.system.filter\q93ng7\WEB-INF\lib\javax.inject-1.jar


--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/1b725841-a0ac-4c8f-afe3-fbf8cfe69c0e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/CAJY1BrZdBJJ2pUmStUN7pSHihPGBmp5qdVktQsLKJ7QgcdBGBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.