[JBoss Tools (users)] - Quick question
by jostick
Sorry to bother guys, but I'm having a small problem that I've been unable to solve( most likely due to my own ignorance ).
I've installed the latest toolpack ( the ALL .zip ).
When I start Eclipse and go to debug configuration screen, there is no option for any JBOSS server types. When I've installed the packs in the past for previous versions of eclipse( I'm running 3.2.1 right now ), I've never had a problem.
I did notice that on startup, Eclipse threw an exception after I installed the JBoss IDE. This is the exception thrown:
736K->1536K(14272K), 0.0541287 secs] 22966K->12727K(203328K), 0.0
543189 secs]
java.lang.NullPointerException
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
r.java:424)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.
java:327)
at com.eviware.soapui.eclipse.Activator.initLogging(Activator.java:260)
at com.eviware.soapui.eclipse.Activator.start(Activator.java:163)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund
leContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv
ator(BundleContextImpl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund
leContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl
eHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac
tBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:
400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFind
LocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(C
lasspathManager.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalCla
ss(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(
BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassIntern
al(BundleLoader.java:408)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Bundl
eLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Bundl
eLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De
faultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(Bundl
eLoader.java:289)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH
ost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Abs
tractBundle.java:1269)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createEx
ecutableExtension(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutable
Extension(ExtensionRegistry.java:788)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecuta
bleExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createE
xecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.ui.internal.navigator.extensions.NavigatorContentDescript
or.createContentProvider(NavigatorContentDescriptor.java:292)
at org.eclipse.ui.internal.navigator.extensions.NavigatorContentExtensio
n.internalGetContentProvider(NavigatorContentExtension.java:135)
at org.eclipse.ui.internal.navigator.NavigatorContentService.extractCont
entProviders(NavigatorContentService.java:1131)
at org.eclipse.ui.internal.navigator.NavigatorContentService.updateServi
ce(NavigatorContentService.java:342)
at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvi
der.inputChanged(NavigatorContentServiceContentProvider.java:636)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:2
47)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.
java:1606)
at org.eclipse.ui.navigator.CommonNavigator.createPartControl(CommonNavi
gator.java:175)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.
java:370)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:2
27)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartR
eference.java:592)
at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(Workbe
nchPage.java:4080)
at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPa
ge.java:3145)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupT
hreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja
va:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvi
sor.java:801)
at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:
1342)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupT
hreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja
va:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAppli
cation.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>From this it looks like the problem is somewhere in a log4J configuration...am I missing a config file somewhere?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095706#4095706
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095706
18Â years, 9Â months
[JBoss Seam] - NoSuchMethodException only 7 Google references
by geezenslaw
Hello SEAM committers, gurus and users. I have the curious situation of deploying the SEAM 1.2.1 example: blog. The server.log exception follows. Jarscan shows the ApplicationImpl class to be in the JBOSS server jar: jsf-impl.jar. I must have the wrong jar but I do not know which jar that could be. Obviously, the ApplicationImpl class does not contain the target method: addELResolver. Thanks in advance and please advise, David.
2007-10-16 09:47:52,273 ERROR [org.apache.myfaces.webapp.StartupServletContextListener] Error initializing ServletContext
java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.faces.application.ApplicationImpl.addELResolver(javax.el.ELResolver)
at org.jboss.seam.jsf.SeamApplication12.(SeamApplication12.java:46)
at org.jboss.seam.jsf.SeamApplicationFactory.getApplication(SeamApplicationFactory.java:29)
at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:414)
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:130)
OS: Windows XP
JBOSS: 4.2.1.GA
SEAM 1.2.1.GA
IDE: Eclipse Europa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095703#4095703
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095703
18Â years, 9Â months