Grails 3.0.9 on WebLogic 12.2.1

184 views
Skip to first unread message

Patrice Boivin

unread,
Feb 24, 2017, 1:10:27 PM2/24/17
to Grails Dev Discuss
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.

Patrice Boivin

unread,
Mar 30, 2017, 12:50:52 PM3/30/17
to Grails Dev Discuss

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.

Patrice Boivin

unread,
Mar 30, 2017, 1:54:07 PM3/30/17
to Grails Dev Discuss
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

Patrice Boivin

unread,
Mar 30, 2017, 2:19:51 PM3/30/17
to Grails Dev Discuss
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

Patrice Boivin

unread,
Mar 30, 2017, 2:21:51 PM3/30/17
to Grails Dev Discuss
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


Eduardo Melzer

unread,
Apr 10, 2017, 3:54:12 PM4/10/17
to grails-de...@googlegroups.com
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.

--
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 grails-dev-discuss+unsub...@googlegroups.com.
To post to this group, send email to grails-dev-discuss@googlegroups.com.
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 all
Reply to author
Forward
0 new messages