Automic Workload Automation

Expand all | Collapse all

JWP's Not Starting

  • 1.  JWP's Not Starting

    Posted 05-08-2017 10:52 AM
    Hey guys.  I am working with Support on this, but just throwing this out there to see if anyone has any ideas.

    I have 4 systems here and have JWP's on all of them.  No issues.  Setting this up was relatively straightforward once I got through the 1st one and documented the steps.

    But I recently moved 1 system to a new server and everything's working fine EXCEPT the JWP's.  Yes, it's a different server than my other 3 systems, but not so much that it would make a significant difference.  It's not Linux & Solaris for example.  All my servers are Solaris.

    I have gone through the usual steps (that have worked on all my other systems). I have the ojdbc6.jar file in the ./bin/lib directory.  And I loaded the "cert".  My command in the service manager is:

    /usr/java_jre8/jre1.8.0_73/bin/java -Xmx512M -jar /u02/automic/automationengine/bin/ucsrvjp.jar -svc%port% -I/u02/automic/automationengine/bin/ucsrv.ini

    My start path is:

    /u02/automic/ae_servicemanager/bin/../../automationengine/bin

    Hate to be repetitive, but this matches all my other systems, where the JWP starts up fine.

    When I go to start the JWP's - it SEEMS to start up, generates a log file, etc. but then they switch over to a stopped status.  They attempt to start back up 2 or 3 more times, but then they stay down.  It generates a Java hs_err_* log and a core dump.

    This is just my SANDBOX system, so I can certainly login with a non-LDAP account and it's not a problem, but I'm just stumped.  Anyone have any ideas / things to check?

    Thanks.


  • 2.  JWP's Not Starting

    Posted 05-08-2017 02:37 PM
    Hi Laura,

    Just a few ideas what you might check:

    - is the JCE installed correctly for the JRE you are using?
    - Are there any "helpful" messages in the log files like tracebacks or error messages or warnings?
    - I also use the Java option -d64. Have you tried that one?

    HTH
    Andreas



  • 3.  JWP's Not Starting

    Posted 05-09-2017 06:46 AM
    Hi LauraAlbrecht608310

    Do the JWP logs contain any error message(s)?
    What about the Service Manager logs ?

    Best regards,
    Antoine


  • 4.  JWP's Not Starting

    Posted 05-09-2017 07:30 AM
    Andreas_Buesching_8947 - What is a JCE?  I do see something in the log about this:

    20170508/163847.425 - U00045003 Java Cryptography Extension (JCE) Unlimited Strength is not installed.

    But not exactly sure what it is and/or how to install it.  I will head to Google shortly.

    Also, what is the -d64 option?

    The service manager log doesn't have much.  

    20170508/204414.488 - U00022004 Starting process 'AE JWP1' ...
    20170508/204414.488 - U00022005 ... with command line  '/usr/java_jre8/jre1.8.0_73/bin/java -Xmx512M -jar /u02/Automic/v11/automationengine/bin/ucsrvjp.jar -svc%port% -I/u02/Automic/v11/automationengine/bin/ucsrv.ini'.
    20170508/204414.488 - U00022006 ... and start directory  '/u02/Automic/v11/ae_servicemanager/bin/../../automationengine/bin'.
    20170508/204414.488 - U00022007 Process 'AE JWP1' (ID '19169') successfully started.
    20170508/204442.576 - U00022012 Process 'AE JWP1/UC4 JWP-Server [SHIRE_SB#WP004] - 3 Connections' (ID '19169') ended.
    20170508/204442.576 - U00022022 Process 'AE JWP1/UC4 JWP-Server [SHIRE_SB#WP004] - 3 Connections' ended, exit code='0(6)'.

    Not sure what the exit code 0(6) means.


  • 5.  JWP's Not Starting

    Posted 05-09-2017 07:37 AM
    Hi Laura,

    In the AWA documentation you can find some information about the JCE

    https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/12.0/AWA%20Guides/help.htm#AWA/Installation/install_jwp_installation.htm%3FTocPath%3DInstallation%2520Guide%7CInstalling%2520the%2520Automation%2520Engine%7CNew%2520Installation%7CInstallation%2520Procedure%7CInstalling%2520the%2520Automation%2520Engine%7C_____4

    The option -d64 forcing the JRE to use the 64bit model. I'm not sure if it is required or not. But according to the AWA documentation the JCE is required to be installed for the JWP. The it looks like this causes your problem.

    kind regards
    Andreas




  • 6.  JWP's Not Starting

    Posted 05-09-2017 10:21 AM
    Thanks - you helped me uncover an issue with my JAVA_HOME.  But I do have JCE installed.  Far as I can tell this is just the local_policy.jar & US_export_policy.jar files and they are in my ./jre/lib/security directory.  I even unloaded / reloaded the CERT just to be sure since I have multiple versions of Java on this server.  Still no luck.


  • 7.  JWP's Not Starting

    Posted 05-10-2017 04:28 AM
    Hi Laura,

    Both files ( local_policy.jar and US_export_policy.jar) are part of the default distribution of Java. With JCE installed these files are replaced. When you start the JWP with the correct JRE do you still see the error message ? I'm referring to this one:

    20170508/163847.425 - U00045003 Java Cryptography Extension (JCE) Unlimited Strength is not installed.

    When the message is not shown anymore can you send the server logs (at least everything regarding the start of the JWP)?



  • 8.  JWP's Not Starting

    Posted 05-10-2017 04:51 AM
    I wrote a JWP startup script that makes logging and troubleshooting a bit easier. You might find it useful.


  • 9.  JWP's Not Starting

    Posted 05-10-2017 11:07 AM
    Thanks guys.  Looks like there was something odd in the TNS entry.  It definitely was different from my other systems, but I was told that was just because it was configured for RAC.  Once I changed that - now I can start the JWP's using the JDBC section in the ucsrv.ini file.  However, still unable to get things working using the normal ODBC connection string that all the WP's and all my other systems use.  Weird.  

    Michael A. Lowry

     will look at your script and see if I can continue troubleshooting.



  • 10.  JWP's Not Starting

    Posted 05-10-2017 11:58 AM
    LDAP-based connection strings do not work with the JWP.


  • 11.  JWP's Not Starting

    Posted 05-10-2017 04:28 PM
    What do you mean

    Michael A. Lowry

    ?

    I have 3 other systems that have JWP's and do not require the [JDBC] section / string.  What exactly are you referring to?


  • 12.  JWP's Not Starting

    Posted 05-10-2017 05:06 PM

    I opened an enhancement request for this: JWP should support LDAP-based Oracle JDBC strings in ucsrv.ini 

    In the JDBC section of the ucsrv.ini file, one specifies a JDBC connection string (Oracle in our case) that instructs the AE processes (CPs, WPs, and JWPs) how to connect to the database. The Java Work Process does not work correctly if the Oracle JDBC connection string is based on LDAP. It should.

    Non-LDAP connection string

    SQLDRIVERCONNECT=jdbc:oracle:thin:@//ABX4-SCAN.MYCOMPANY.COM:1521/DB123.CORP.MYCOMPANY.COM

    LDAP connection string

    SQLDRIVERCONNECT=jdbc:oracle:thin:@ldap://oranamesldap1.mycompany.com:3389/DB123,cn=OracleContext,dc=mycompany,dc=com

    The advantage of using a connection string based on LDAP is that we can put a DB name in the string, and not a DB host name. This means if the DB host name changes, it will still work.

    The JWP should support LDAP-based connection strings.


  • 13.  JWP's Not Starting

    Posted 05-23-2017 09:27 AM
    So still having an issue here.  Found a discrepancy in the db settings - it was set to UTF8.  Fixed this and it is now set to WE8MSWIN1252 as it should be.  Unfortunately, that didn't fix my issue.

    I circled back around to the JCE thing - Andreas_Buesching_8947  - but I compared this to my other systems that do work and that message:

    U00045003 Java Cryptography Extension (JCE) Unlimited Strength is not installed.

    Is actually in the logs for my systems where this does work.  So I'm not sure that's an indicator of the problem here.  Cause why would my JWP's work on one system and not another?

    I am using JDK 1.8 update 92.


  • 14.  JWP's Not Starting

    Posted 05-24-2017 03:23 AM
    Laura Albrecht wrote:
    U00045003 Java Cryptography Extension (JCE) Unlimited Strength is not installed.
    Is actually in the logs for my systems where this does work.  So I'm not sure that's an indicator of the problem here.  Cause why would my JWP's work on one system and not another?
    In my experience, the JCE error message will not prevent the JWP from starting. It will just prevent the JWP from being able to perform some of its duties, such as single sign-on.

    The problem that prevents the JWP from staying up is likely something else.