[JBoss JIRA] Created: (JBIDE-5710) DVDStore22-ear deployment exception
by Jiri Peterka (JIRA)
DVDStore22-ear deployment exception
-----------------------------------
Key: JBIDE-5710
URL: https://jira.jboss.org/jira/browse/JBIDE-5710
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 3.1.0.CR1
Environment: JBDS 3.0.0 CR1 #50, Linux 64
SOA 5 ER
Reporter: Jiri Peterka
Fix For: 3.1.0.CR2
Deployment "vfsfile:/home/jpeterka/lib/jboss-soa-5-er/jboss-as/server/default/deploy/dvdstore22-ear.ear/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/home/jpeterka/lib/jboss-soa-5-er/jboss-as/server/default/tmp/ayx5r-8yg389-g4nxjfij-1-g4nxjup0-1h/dvdstore22-ear.ear/dvdstore22.war/ deployment failed
It should be possible to deploy this example under SOA-P 5
--
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
16 years, 4 months
[JBoss JIRA] Created: (JBIDE-5849) Warning with Hibernate - while initializing JBoss tools
by Vitali Yemialyanchyk (JIRA)
Warning with Hibernate - while initializing JBoss tools
-------------------------------------------------------
Key: JBIDE-5849
URL: https://jira.jboss.org/jira/browse/JBIDE-5849
Project: Tools (JBoss Tools)
Issue Type: Task
Components: Hibernate
Affects Versions: 3.1.0.CR2
Reporter: Vitali Yemialyanchyk
Assignee: Vitali Yemialyanchyk
Priority: Minor
why this happens? fix it if possible.
While loading class "org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer$LastUpdate", thread "Thread[main,6,main]" timed out waiting (5000ms) for thread "Thread[Worker-2,5,main]" to finish starting bundle "org.eclipse.jst.j2ee_1.1.301.v200909030330 [755]". To avoid deadlock, thread "Thread[main,6,main]" is proceeding but "org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer$LastUpdate" may not be fully initialized.
Stack trace:
org.osgi.framework.BundleException: State change in progress for bundle "reference:file:/D:/Bin/eclipse_3.5.1/plugins/org.eclipse.jst.j2ee_1.1.301.v200909030330.jar" by thread "Worker-2".
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1073)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:278)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.<init>(J2EEComponentClasspathContainer.java:105)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.install(J2EEComponentClasspathContainer.java:350)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathInitializer.initialize(J2EEComponentClasspathInitializer.java:29)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2608)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2514)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2554)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1773)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
at org.eclipse.jdt.launching.JavaRuntime.computeJREEntry(JavaRuntime.java:2001)
at org.eclipse.jdt.launching.JavaRuntime.computeJREEntry(JavaRuntime.java:1955)
at org.eclipse.jdt.launching.StandardClasspathProvider.computeUnresolvedClasspath(StandardClasspathProvider.java:40)
at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1191)
at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:146)
at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:95)
at org.hibernate.console.ConsoleConfiguration.getCustomClassPathURLs(ConsoleConfiguration.java:242)
at org.hibernate.console.ConsoleConfiguration.createClassLoader(ConsoleConfiguration.java:277)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:316)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:147)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.getConfig(OrmDiagram.java:795)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.getConfig(OrmDiagram.java:783)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.refreshRootsFromNames(OrmDiagram.java:366)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.loadState(OrmDiagram.java:555)
at org.jboss.tools.hibernate.ui.view.DiagramEditorInput.loadState(DiagramEditorInput.java:139)
at org.jboss.tools.hibernate.ui.view.DiagramEditorInputFactory.createElement(DiagramEditorInputFactory.java:27)
at org.eclipse.ui.internal.EditorReference.getRestoredInput(EditorReference.java:399)
at org.eclipse.ui.internal.EditorReference.getEditorInput(EditorReference.java:362)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.getIFile(StartupHandler.java:199)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:154)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$1.run(StartupHandler.java:64)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
... 68 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1073)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:278)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.<init>(J2EEComponentClasspathContainer.java:105)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathContainer.install(J2EEComponentClasspathContainer.java:350)
at org.eclipse.jst.j2ee.internal.common.classpath.J2EEComponentClasspathInitializer.initialize(J2EEComponentClasspathInitializer.java:29)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2608)
at org.eclipse.jdt.internal.core.JavaModelManager$11.run(JavaModelManager.java:2514)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeAllContainers(JavaModelManager.java:2554)
at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1773)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:2652)
at org.eclipse.jdt.launching.JavaRuntime.computeJREEntry(JavaRuntime.java:2001)
at org.eclipse.jdt.launching.JavaRuntime.computeJREEntry(JavaRuntime.java:1955)
at org.eclipse.jdt.launching.StandardClasspathProvider.computeUnresolvedClasspath(StandardClasspathProvider.java:40)
at org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1191)
at org.hibernate.eclipse.console.utils.ClassLoaderHelper.getClasspath(ClassLoaderHelper.java:146)
at org.hibernate.eclipse.console.EclipseLaunchConsoleConfigurationPreferences.getCustomClassPathURLS(EclipseLaunchConsoleConfigurationPreferences.java:95)
at org.hibernate.console.ConsoleConfiguration.getCustomClassPathURLs(ConsoleConfiguration.java:242)
at org.hibernate.console.ConsoleConfiguration.createClassLoader(ConsoleConfiguration.java:277)
at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:316)
at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:147)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.getConfig(OrmDiagram.java:795)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.getConfig(OrmDiagram.java:783)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.refreshRootsFromNames(OrmDiagram.java:366)
at org.jboss.tools.hibernate.ui.diagram.editors.model.OrmDiagram.loadState(OrmDiagram.java:555)
at org.jboss.tools.hibernate.ui.view.DiagramEditorInput.loadState(DiagramEditorInput.java:139)
at org.jboss.tools.hibernate.ui.view.DiagramEditorInputFactory.createElement(DiagramEditorInputFactory.java:27)
at org.eclipse.ui.internal.EditorReference.getRestoredInput(EditorReference.java:399)
at org.eclipse.ui.internal.EditorReference.getEditorInput(EditorReference.java:362)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.getIFile(StartupHandler.java:199)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$JSPEditorListener.isValidJSPEditor(StartupHandler.java:154)
at org.eclipse.jst.jsf.designtime.internal.jsp.StartupHandler$1.run(StartupHandler.java:64)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
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:194)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
--
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
16 years, 4 months
[JBoss JIRA] Created: (JBIDE-5852) Error marker for components.xml for New Seam web Project
by Vitali Yemialyanchyk (JIRA)
Error marker for components.xml for New Seam web Project
--------------------------------------------------------
Key: JBIDE-5852
URL: https://jira.jboss.org/jira/browse/JBIDE-5852
Project: Tools (JBoss Tools)
Issue Type: Bug
Reporter: Vitali Yemialyanchyk
Referenced file contains errors (file:/C:/RHDS/jbosstools/trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/components-1.2.xsd). For more information,
right click on the message in the Problems View and select "Show Details..."
Details:
The errors below were detected when validating the file "components-1.2.xsd" via the file "components.xml". In most cases these errors can be detected by validating "components-1.2.xsd" directly. However it is possible that errors will only occur when components-1.2.xsd is validated in the context of components.xml.
--
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
16 years, 4 months
[JBoss JIRA] Created: (JBIDE-4500) xcss templates should be copied to the classpath on deploy
by Jacques Lemire (JIRA)
xcss templates should be copied to the classpath on deploy
----------------------------------------------------------
Key: JBIDE-4500
URL: https://jira.jboss.org/jira/browse/JBIDE-4500
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.1.GA
Environment: winxp x86, jdk6, jboss5
Reporter: Jacques Lemire
In projects generated through "File" -> "New" -> "Seam web project", the facelets template "layout/template.xhtml" contains the following component in the "head" section:
layout/template.xhtml:
<a:loadStyle src="resource:///stylesheet/theme.xcss"/>
This component, from a4j should transform the "richfaces templatable css" (xcss) file into a real CSS file and render as a <link> tag containing an a4j resource url. In projects created from the command-line seam-gen script, the output is as expected:
<link class='user' rel='stylesheet' type='text/css' href='/testxcss/a4j/s/3_2_2.SR1stylesheet/theme.xcss/DATB/eAFrvajdHLp8hjQAEgwDtA__' />
However, using jboss tools, I get:
<link class='user' rel='stylesheet' type='text/css' href='/SeamThemeTest/stylesheet/theme.xcss' />
This version does not work, however, as the xcss file is returned to the browser as is.
By looking at the differences between the seam-gen project and the jbosstools project, i noticed the following section of the build.xml ant file generated by seam-gen:
<copy todir="${war.dir}/WEB-INF/classes">
<fileset dir="${basedir}/resources">
<include name="**/*.xcss"/>
</fileset>
<!-- move XCSS into classpath for now
loading from web context only works in JBoss AS 4 -->
<fileset dir="${basedir}/view">
<include name="**/*.xcss"/>
</fileset>
</copy>
This step is not done by jbosstools (3.1.0), and indeed, by doing a quick web search, I fell on the following jira: https://jira.jboss.org/jira/browse/JBAS-6034, which states that:
> [...] that would work in 4.2.x but not in jboss5 where the root of the war is no longer a part of the war's classpath (and never should have been!)
Please fix it as soon as possible, as this problem affects any generated site and is pretty difficult to debug. On the other hand, it should be very easy to fix.
--
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
16 years, 4 months