####<15-Jul-2015 13:09:02 o'clock CEST> <Critical> <WebLogicServer> <D02DI1419933AGR> <server_RDIS2DEV7L> <main> <<WLS Kernel>> <> <> <1436958542731> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetExceptionjava.lang.AssertionError: java.lang.reflect.InvocationTargetException at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:179) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:196) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:118) at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1188) at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:908) at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88) at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67) at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62) at java.security.AccessController.doPrivileged(Native Method) at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1096) at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1109) at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:600) at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:305) at weblogic.server.channels.ChannelService.start(ChannelService.java:263) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295) at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)Caused By: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:177) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:196) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:118) at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1188) at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:908) at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88) at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67) at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62) at java.security.AccessController.doPrivileged(Native Method) at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1096) at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1109) at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:600) at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:305) at weblogic.server.channels.ChannelService.start(ChannelService.java:263) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295) at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)Caused By: weblogic.security.internal.encryption.EncryptionServiceException at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:137) at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:185) at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:177) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:196) at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:118) at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1188) at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:908) at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88) at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67) at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62) at java.security.AccessController.doPrivileged(Native Method) at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1096) at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1109) at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:600) at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:305) at weblogic.server.channels.ChannelService.start(ChannelService.java:263) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295) at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)Hey Karel
The CI is also happy - Release is now in progress.
Thank you
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/On 13/07/15 09:39, Karel Suta wrote:
...Hi,
Created PR containing WLST log messages and other improvements - https://github.com/codehaus-cargo/cargo/pull/16.
Ali - After merging of this PR I think you may go for 1.4.15 release.
Br, Karel
Dne pátek 10. července 2015 8:29:36 UTC+2 Jorg Heymans napsal(a):That's ok Karel, the benefits of using wlst are clearly there going forward. It makes sense to stick to it.
Jorg
On Thursday, July 9, 2015 at 3:05:05 PM UTC+2, Karel Suta wrote:Hi Jorg,
Sorry for late reply.
Performance got worse than it was before. That is because new version implements WLST for domain creation and configuration, old version was directly creating configuration xml files in domain folder. Advantage of new version is that after domain is created you can invoke it without Cargo - domain contains startWeblogic script and other created files. New version offers also advanced functionality like admin username/password change when domain is created, has implemented JMS.
I can try to look for ways how to improve startup speed, but so far I didn't find anything.
Putting some stuff to output - good idea, will try to implement it :) Anyway most time of WLST execution is consumed by creating basic structure of domain from WebLogic domain template and to write domain to domain folder.
Br, Karel
Dne čtvrtek 2. července 2015 13:13:25 UTC+2 Jorg Heymans napsal(a):I confirm NPE fix, and WLST is invoked only once. Still performance is not the same as it was before but it's a lot better, quite acceptable. Perhaps if you would output some stuff like 'creating datasources...' , 'creating queues' while executing wlst one would get the feeling that it is faster... purely cosmetic suggestion though :-)
Jorg
On Tuesday, June 30, 2015 at 8:46:19 AM UTC+2, Karel Suta wrote:Hi Jorg,
Both things(NullPointer and slow start) should be fixed or improved now in 1.4.15-SNAPSHOT.
Please try it.
Br, Karel
Dne středa 24. června 2015 19:42:24 UTC+2 Savaş Ali Tokmen napsal(a):Hi Jorg, Karel
Thanks a lot for this - I'll then refrain from tagging 1.4.15 until these are resolved :)
Keep the good work!
S. Ali Tokmen
http://ali.tokmen.com/
http://contact.ali.tokmen.com/
From: Karel Suta
Sent: 24/06/2015 10:04
To: codehau...@googlegroups.com
Subject: Re: [codehaus-cargo] 1.4.14 regression when starting weblogic
Hi,
About NullPointer - it is caused by bug in Cargo, Cargo expects some servlet users to be defined which will be put to WebLogic security domain. If you don't need any users defined you can do such workaround in pom file:
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
...
<configuration>
<configuration>
<properties>
<cargo.servlet.users/>
</properties>
</configuration>
</configuration>
...
Will try to fix it soon.
About collapsing script calls - that is good point, will work on it.
Br, Karel Suta
Dne středa 24. června 2015 9:36:11 UTC+2 Jorg Heymans napsal(a):Hi,
Apologies for not following up on this. I have tested 1.4.15-SNAPSHOT now and can confirm that weblogic is starting. However after it starts it fails immediately with a NPE:
[INFO] Total time: 42.719s[INFO] Finished at: Wed Jun 24 09:28:35 CEST 2015[INFO] Final Memory: 12M/32M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.15-SNAPSHOT:run (default-cli) on project sfc-fo-bridge-model-generator-war: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.15-SNAPSHOT:run failed: Failed to start the WebLogic 12.1.x container. NullPointerException -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.15-SNAPSHOT:run (default-cli) on project model-generator-war: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.15-SNAPSHOT:run failed: Failed to start the WebLogic 12.1.x container.at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)at org.codehaus.classworlds.Launcher.main(Launcher.java:46)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:606)at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.15-SNAPSHOT:run failed: Failed to start the WebLogic 12.1.x container.at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115)at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)... 25 moreCaused by: org.codehaus.cargo.container.ContainerException: Failed to start the WebLogic 12.1.x container.at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:252)at org.codehaus.cargo.maven2.ContainerStartMojo.executeLocalContainerAction(ContainerStartMojo.java:66)at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java:57)at org.codehaus.cargo.maven2.ContainerRunMojo.doExecute(ContainerRunMojo.java:85)at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:436)at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)... 26 moreCaused by: java.lang.NullPointerExceptionat java.util.StringTokenizer.<init>(StringTokenizer.java:199)at java.util.StringTokenizer.<init>(StringTokenizer.java:221)at org.codehaus.cargo.container.property.User.parseUsers(User.java:152)at org.codehaus.cargo.container.weblogic.WebLogic121xWlstInstalledLocalContainer.executePostStartTasks(WebLogic121xWlstInstalledLocalContainer.java:128)at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:233)... 31 more
Also, I noticed that WLST is invoked several times during container configuration, this makes it much slower to start the server than before which is a bit of an issue during development. Would it not be possible to collapse all script calls into one so that WLST gets invoked only once ?
Jorg
On Thursday, June 18, 2015 at 9:25:28 AM UTC+2, Karel Suta wrote:Patch and JIRA entry done and merged.
Br, Karel
Dne středa 10. června 2015 19:55:40 UTC+2 Savaş Ali Tokmen napsal(a):Hi Karel
That's excellent, I guess the problem there was the (back)slash.
Would you be so kind to create a JIRA entry and propose a patch? With this one as well, since it would be c.a. 2 months since the last release, we could also release a new CARGO version.
Cheers
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/On 10/06/15 00:23, Karel Suta wrote:
Hi Ali,
Spaces aren't ok too - on linux (Fedora)
About windows - spaces are allowed, other characters not allowed are same as for linux and includes also :(colon) and ?(question mark)
I tried just "normal" characters which can be found on standard keyboard, there can be some other special characters which can make this issue.
Big issue for windows users can be \, which is not allowed and is defaultly used as folder path. Temporary fix for 1.4.14 can be to manually define domain home path using / instead of \. Or to use 1.4.13, which doesn't contain WLST implementation.
I should fix this issue for 1.4.15 by replacing \ with / directly in application so it will work on windows out of the box.
Br, Karel
Dne pátek 5. června 2015 18:31:24 UTC+2 Savaş Ali Tokmen napsal(a):Hi Karel
Thank you, so does this means spaces also are not OK?
Please advise
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/On 03/06/15 09:44, Karel Suta wrote:
Hi Ali,
Didn't find any documentation about restricted characters for WLST. This is what I found by my own testing.
List of characters causing problems when contained in domain path:
* [ ] '
\ followed by number - for example \789
This was tested on Fedora, not sure about Windows environment, could check there too.
It is affecting just weblogic121x as just this version use WLST for domain and resource handling.
Br, Karel
Dne úterý 26. května 2015 20:00:55 UTC+2 Savaş Ali Tokmen napsal(a):Hi Karel
Thanks, this is very helpful.
Do you have examples of working and "broken" paths, also the list of affected
...
...
<configuration> <files> <copy> <file>${project.build.directory}/cargo/config/config.xml</file> <tofile>config/config.xml</tofile> <configfile>true</configfile> <overwrite>true</overwrite> </copy> <copy> <file>${project.build.directory}/cargo/config/jdbc/activitiDataSource-jdbc.xml</file> <tofile>config/jdbc/activitiDataSource-jdbc.xml</tofile> <configfile>true</configfile> <overwrite>true</overwrite> </copy>
...
<security-configuration xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator"> <name>test</name> <realm> ........ <sec:name>myrealm</sec:name> <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator" xsi:type="pas:system-password-validatorType"> <sec:name>SystemPasswordValidator</sec:name> <pas:min-password-length>8</pas:min-password-length> <pas:min-numeric-or-special-characters>0</pas:min-numeric-or-special-characters> </sec:password-validator> </realm> <default-realm>myrealm</default-realm> ....... <cross-domain-security-enabled>true</cross-domain-security-enabled> </security-configuration>...
--
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-carg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/098472d3-9959-4ab0-92b6-d3ee0d90f514%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...
...
--
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-carg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/580afa00-1bdd-457c-b783-b823ab2f44bc%40googlegroups.com.
...
--
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-carg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/553d142b-a120-4f06-9dfd-7490c2933297%40googlegroups.com.
...
...