[JBoss Web Development] - fail to stop jboss that running as windlow service
by yansong liu
yansong liu [http://community.jboss.org/people/ysliu] created the discussion
"fail to stop jboss that running as windlow service"
To view the discussion, visit: http://community.jboss.org/message/590602#590602
--------------------------------------------------------------
hello, I'm trying to run jboss AS as a windows service using jboss native(2.0.6).(I'm on windows xp) and I meet following problem when I try to stop the
jboss service in windows services management console. at begining after I click the stop button the service turn into stoped status after 20 seconds. but I found the jboss process was terminated instead of stopping gracefully. so I modified regisy value HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\WaitToKillServiceTimeout to increase shutdown time(to 200 seconds). the change takes effect. after doing that, services manager indeed wait for more time, but after about 120 seconds, services manager poped up a alert dialog that complains "Error 1053: The service did not respond to the start or control request in a timely fashion". I test in cmd to run shutdown.bat to shutdown my jboss directly. in my case it
takes about 80 seconds. so I think it's long enough to shut down the jboss before the alert dialog popup. it will be very appriciate if anyone can explain me what is the cause of the problem and how to resolve it. thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590602#590602]
Start a new discussion in JBoss Web Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months
[JBoss XML Binding Development] - Accessign XML schema types from another XML schema file
by Sriragavan Loganathan
Sriragavan Loganathan [http://community.jboss.org/people/sriragavan123] created the discussion
"Accessign XML schema types from another XML schema file"
To view the discussion, visit: http://community.jboss.org/message/590302#590302
--------------------------------------------------------------
Hi All,
I am accessing XML schema file from EJB to validate XML files.
The XML schema files are having its own hierarchy.
e.g. A.xsd includes B.xsd, B.xsd includes C.xsd
During the deployment time, the XSD files are placed under the JBoss deploy folder next to the EJB JAR files.
>From the EJB I am referencing the top most parent XSD file, i.e. A.xsd, creating the InputStream and then creating the schema (javax.xml.validation.Schema). *During the schema creating throws an exception can not resolve a type defined in the C.xsd*.
The child schema files are properly included in the parent schema files as follows.
A.xsd:
+<include schemaLocation="B.xsd"></include>+
B.xsd:
+<include schemaLocation="C.xsd"></include>+
Even though all the XSD files are in the same folder, A.xsd is not able access the type defined in C.xsd.
I don't want to use absolute path to specify file locations.
Is there any way to relatively define the file locations?
Thanks & regards.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590302#590302]
Start a new discussion in JBoss XML Binding Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months
[JBoss AS7 Development] - JBoss AS - build.bat fails with a MojoExecutionException
by Prabaharan Gopalan
Prabaharan Gopalan [http://community.jboss.org/people/prabugp] created the discussion
"JBoss AS - build.bat fails with a MojoExecutionException"
To view the discussion, visit: http://community.jboss.org/message/590256#590256
--------------------------------------------------------------
All, I wish to be part of the JBoss community and contribute in whatever ways I can. So, i started out by checking out the source from SVN ( http://anonsvn.jboss.org/repos/jbossas/trunk/build http://anonsvn.jboss.org/repos/jbossas/trunk/build ) and following the readme, executed build.bat. Initially the build failed with outOfMemory errors but then i got around them by setting the MAVEN_OPTS to use Xmx1024m. so, now it is not throwing OutOfMemory.
But i'm getting this error while executing JBoss Application Server Build. It always fails with the error
[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.0-alpha-1-2-jbossorg:download-licenses (default) on project jboss-as-build: Unable to parse license summary output file. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.0-alpha-1-2-jbossorg:download-licenses (default) on project jboss-as-build: Unable to parse license summary output file.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
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:314)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to parse license summary output file.
at org.codehaus.mojo.license.DownloadLicensesMojo.loadLicenseInfo(DownloadLicensesMojo.java:241)
at org.codehaus.mojo.license.DownloadLicensesMojo.execute(DownloadLicensesMojo.java:147)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
... 19 more
Caused by: java.lang.NullPointerException
at org.codehaus.mojo.license.DownloadLicensesMojo.loadLicenseInfo(DownloadLicensesMojo.java:232)
... 22 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Press any key to continue . . .
I'm on Win 7, 32bit, 4GB i7 machine. And my source version is 110803, and i'm on the trunk of jboss.
I have been trying to find relevant information on this but so far no fruit. Any light to help me out is appreciated.
P.S: If there are links available to help out a new member to the community in explaining the architecture as well as the standards, frequently faced issues and such, please point me to their direction.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590256#590256]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 10 months