[JBoss JIRA] Created: (JBCOMMON-81) java.lang.NoSuchMethodError during processing xml files
by cset telo (JIRA)
java.lang.NoSuchMethodError during processing xml files
-------------------------------------------------------
Key: JBCOMMON-81
URL: https://jira.jboss.org/jira/browse/JBCOMMON-81
Project: JBoss Common
Issue Type: Bug
Environment: - HP-UX release B.11.23, i64, vmunix: B11.23_LR FLAVOR=perf
- Sun Java VM 1.5.0.14 Standard Edition (build 1.5.0.14-_25_jul_2008_05_19) Java HotSpot(TM) Server VM (build 1.5.0.14 jinteg:07.25.08-11:41 IA64, mixed mode)
- JBoss 4.2.2.GA.
- Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
- JDBC: Ojdbc1.4.jar
- java starting parameters: -Xms128m -Xmx1024m
Reporter: cset telo
Assignee: Dimitris Andreadis
java.lang.NoSuchMethodError during processing xml files:
We are loading data from xml files (at about 0,5 Gb) to the database. The handler uses JSR-173 implementation for reading the xml files and for inserting data to database uses JDBC PreparedStatement's addBatch method. Periodically there are System.gc() method calls (each 15 seconds, 6 times) because of the many, but little objects. This time the database connection is closed and opened again.
During this process we get
java.lang.NoSuchMethodError: javax.resource.spi.ResourceAdapterInternalException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
message into the log file. This event occurs different times after starting the process. There's no included stack trace.
This object constructor exists; the implementation is in the \server\default\lib\jboss-j2ee.jar, which can be found in the installed JBoss.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (JBXB-182) Parse error if a choice is between an element and a sequence which also contains the element
by Matt Wringe (JIRA)
Parse error if a choice is between an element and a sequence which also contains the element
--------------------------------------------------------------------------------------------
Key: JBXB-182
URL: https://jira.jboss.org/jira/browse/JBXB-182
Project: JBoss XML Binding (JBossXB)
Issue Type: Bug
Environment: JBoss AS5, JBossXB 2.0.0.GA
Reporter: Matt Wringe
JBossXB fails to parse an xml file if the xsd contains a choice between an element and a sequence which also contains the element.
For example, in the follow the choice should allow the option between specifying A and then B, or just B
<choice>
<sequence>
<element name="A"/>
<element name="B"/>
</sequence>
<element name="B"/>
</choice>
But, if an xml file used contains just B, an exception will be thrown saying that B is in the wrong order for the sequence. The expected result would be that it should work since just having B is valid.
Part of the actual xsd file (http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd) in question:
<choice>
<sequence>
<element name="resource-bundle" type="portlet:resource-bundleType"/>
<element name="portlet-info" type="portlet:portlet-infoType" minOccurs="0"/>
</sequence>
<element name="portlet-info" type="portlet:portlet-infoType"/>
</choice>
Part of the stacktrace thrown when a portlet-info element is declared in an portlet.xml file without resource-bundle:
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Requested element {http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-info is not allowed in this position in the sequence. The next element should be {http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}resource-bundle
at org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding$1.startElement(SequenceBinding.java:226)
at org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding$1.startElement(ChoiceBinding.java:230)
at org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding$1.startElement(SequenceBinding.java:254)
at org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding$Cursor.startElement(ModelGroupBinding.java:185)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:451)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
Note: when using other tools, the xsd file validates as a proper xsd file, and the xml file used properly validates against the specified xsd.
More information (stacktraces, actual files used, etc...) is available upon requested.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (EJBTHREE-1747) Make the individual tutorials runnable through Maven
by jaikiran pai (JIRA)
Make the individual tutorials runnable through Maven
----------------------------------------------------
Key: EJBTHREE-1747
URL: https://jira.jboss.org/jira/browse/EJBTHREE-1747
Project: EJB 3.0
Issue Type: Task
Components: docs
Affects Versions: 1.1.1
Environment: JBoss-AS 5.0.x
Reporter: jaikiran pai
Assignee: jaikiran pai
The EJB3 tutorials currently can be built and run through Ant and Maven. However Maven support is not that great and currently works as follows:
1) An aggregator (jboss-ejb3-tutorial-parent) first triggers the AS to start (through a "init" module)
2) All the tutorials are then run one after other
3) The aggregator then finally uses a "shutdown" module to stop the server.
This doesn't allow a single tutorial to be run through Maven, because the AS is started outside the tutorial.
To fix this, maven profile(s) need to be created. Ex: A "RunAllTutorial" profile which does the same steps as above and a "RunOneTutorial" which is responsible for running the single tutorial (with the additional steps of starting/stopping the AS).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Updated: (GPD-271) Exception logged on connection test in jBPM editor
by Koen Aers (JIRA)
[ https://jira.jboss.org/jira/browse/GPD-271?page=com.atlassian.jira.plugin... ]
Koen Aers updated GPD-271:
--------------------------
Fix Version/s: jBPM jPDL Designer 3.1.8
(was: jBPM jPDL Designer 3.1.7)
As it is a minor issue only on Linux and not affecting the normal behaviour, I will again let it slip. I was not yet able to isolate the problem.
> Exception logged on connection test in jBPM editor
> --------------------------------------------------
>
> Key: GPD-271
> URL: https://jira.jboss.org/jira/browse/GPD-271
> Project: JBoss jBPM GPD
> Issue Type: Bug
> Components: jpdl
> Environment: JBossTools-3.0.0.CR1-N200811050757-ALL-linux-gtk
> Reporter: Koen Aers
> Assignee: Koen Aers
> Fix For: jBPM jPDL Designer 3.1.8
>
>
> Opened a process definition in the jBPM editor, went to the Deployment tab, and clicked on "Test Connection". The test completes as expected (the server is running), but the following exceptions are logged:
> eclipse.buildId=M20080911-1700
> java.version=1.6.0_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86 -clean
> Error
> Wed Nov 05 12:12:04 GMT-05:00 2008
> An unexpected exception was thrown.
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
> at java.util.HashMap$KeyIterator.next(HashMap.java:828)
> at org.eclipse.ui.internal.handlers.HandlerAuthority.processChangedCommands(HandlerAuthority.java:627)
> at org.eclipse.ui.internal.handlers.HandlerAuthority.access$1(HandlerAuthority.java:610)
> at org.eclipse.ui.internal.handlers.HandlerAuthority$1.propertyChange(HandlerAuthority.java:175)
> at org.eclipse.ui.internal.services.EvaluationAuthority$1.run(EvaluationAuthority.java:252)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.services.EvaluationAuthority.fireServiceChange(EvaluationAuthority.java:246)
> at org.eclipse.ui.internal.services.EvaluationAuthority.endSourceChange(EvaluationAuthority.java:197)
> at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:135)
> at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:310)
> at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:289)
> at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
> at org.eclipse.ui.internal.services.ActivePartSourceProvider.checkActivePart(ActivePartSourceProvider.java:244)
> at org.eclipse.ui.internal.services.ActivePartSourceProvider$2.windowDeactivated(ActivePartSourceProvider.java:125)
> at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:824)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.Workbench.fireWindowDeactivated(Workbench.java:822)
> at org.eclipse.ui.internal.WorkbenchWindow$26.shellDeactivated(WorkbenchWindow.java:3012)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:105)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
> at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:683)
> at org.eclipse.swt.widgets.Display.filterProc(Display.java:1470)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1550)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at org.jbpm.gd.jpdl.util.ProcessDeployer.pingServer(Unknown Source)
> at org.jbpm.gd.jpdl.deployment.DeploymentForm$5.widgetSelected(Unknown Source)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> -------------------------------------
> eclipse.buildId=M20080911-1700
> java.version=1.6.0_07
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86 -clean
> Error
> Wed Nov 05 12:12:04 GMT-05:00 2008
> Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
> at java.util.HashMap$KeyIterator.next(HashMap.java:828)
> at org.eclipse.ui.internal.handlers.HandlerAuthority.processChangedCommands(HandlerAuthority.java:627)
> at org.eclipse.ui.internal.handlers.HandlerAuthority.access$1(HandlerAuthority.java:610)
> at org.eclipse.ui.internal.handlers.HandlerAuthority$1.propertyChange(HandlerAuthority.java:175)
> at org.eclipse.ui.internal.services.EvaluationAuthority$1.run(EvaluationAuthority.java:252)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.services.EvaluationAuthority.fireServiceChange(EvaluationAuthority.java:246)
> at org.eclipse.ui.internal.services.EvaluationAuthority.endSourceChange(EvaluationAuthority.java:197)
> at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:135)
> at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:310)
> at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:289)
> at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
> at org.eclipse.ui.internal.services.ActivePartSourceProvider.checkActivePart(ActivePartSourceProvider.java:244)
> at org.eclipse.ui.internal.services.ActivePartSourceProvider$2.windowDeactivated(ActivePartSourceProvider.java:125)
> at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:824)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.Workbench.fireWindowDeactivated(Workbench.java:822)
> at org.eclipse.ui.internal.WorkbenchWindow$26.shellDeactivated(WorkbenchWindow.java:3012)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:105)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
> at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:683)
> at org.eclipse.swt.widgets.Display.filterProc(Display.java:1470)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1550)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at org.jbpm.gd.jpdl.util.ProcessDeployer.pingServer(Unknown Source)
> at org.jbpm.gd.jpdl.deployment.DeploymentForm$5.widgetSelected(Unknown Source)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months