-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Eclipse 3.2
PostPosted: Fri Mar 10, 2006 2:34 pm 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
Hi

Hibernate tools newbie with I have Eclispe 3.2M5a and Hibernate Tools 3.1.0beta4. If I try to open the help server then I get the following exception posted below. Is this solvable? I really would like to use Hibernate Tools with Eclipse 3.2x

thanks in advance

-H


The embedded application server could not run help web application.

eclipse.buildId=I20060223-1656
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

Error
2006-03-10 13:15:40.406
The embedded application server could not run help web application.

org.eclipse.core.runtime.CoreException[0]: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
at org.apache.commons.digester.Digester.<init>(Digester.java:346)
at org.apache.catalina.realm.MemoryRealm.getDigester(MemoryRealm.java:278)
at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java:348)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at org.apache.catalina.startup.Embedded.addEngine(Embedded.java:464)
at org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppServer.java:146)
at org.eclipse.help.internal.appserver.AppserverPlugin.startWebappServer(AppserverPlugin.java:143)
at org.eclipse.help.internal.appserver.AppserverPlugin.getAppServer(AppserverPlugin.java:41)
at org.eclipse.help.internal.appserver.WebappManager.start(WebappManager.java:58)
at org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRunning(BaseHelpSystem.java:246)
at org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(HelpDisplay.java:164)
at org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpDisplay.java:54)
at org.eclipse.help.ui.internal.DefaultHelpUI.displayHelp(DefaultHelpUI.java:122)
at org.eclipse.ui.internal.help.WorkbenchHelpSystem.displayHelp(WorkbenchHelpSystem.java:822)
at org.eclipse.ui.internal.actions.HelpContentsAction$1.run(HelpContentsAction.java:83)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.actions.HelpContentsAction.run(HelpContentsAction.java:81)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:492)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:530)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:480)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:392)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3287)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2907)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1899)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
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.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
... 46 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
... 47 more


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 5:52 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
I have a hard time seeing what this error has to do with hibernate tools ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Me Too
PostPosted: Fri Mar 10, 2006 6:14 pm 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
I also have a hard time. All I do is unzip the 3.2M5 disto, download the beta4 of the Eclipse Tools, unzip the Tools inside the eclipse/ and then just run eclipse. I then click on Help to bring up the browser and bam... the error shows up. Iv'e reproduced the error twice using the above method.

-H


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 6:24 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
soo go to eclipse.org and report a bugreport against 3.2M5 help system.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 8:04 pm 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
Are you sure it is an Eclipse bug and not something that the Hibernate team have overlooked in some change from the 3.1 stream to the 3.2 stream? It seems to make more sense to confirm that it is NOT the Hibernate Tools implementation by recreating the problem. If it indeed the Eclipse code then we could post a proper code indicating the conflict between Hibernate Tools and Eclipse so that the Eclipse team can work on it before the release candidate come out which is soon.

Has anyone been able to run Hibernate Tools with 3.2x? If so can you post which version of Eclipse and Hibernate tools you used?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 8:09 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Do you see *any* code from hibernate in that stacktrace ? I don't.

And btw. we haven't overlooked any change from 3.1 to 3.2 stream since we have not migrated to the 3.2 stream yet.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 8:23 pm 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
Ahhhh.... a valid answer: "We currently do not support the 3.2x stream build."

Thank you.

I notice that you include the EMF, GEF and WST jars from 3.1 in your distro and I bet the help.jar is also 3.1? Ok... I will see if I can hack it over the weekend to work for 3.2.

Have a good day.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 8:25 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
which help.jar ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 8:26 pm 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
Already did.

-H


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 13, 2006 2:25 am 
Newbie

Joined: Sun Feb 12, 2006 3:09 pm
Posts: 3
Location: Riga, Latvia
elhugo wrote:
Already did.

-H


I have the same problem with 3.2M5 and beta4 of the Eclipse Tools, can you share some findings on how did you solved it?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 14, 2006 1:14 am 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
well...

I figured out the problem and it is an Eclipse problem. To find out what it is/was:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=128604

----

Moving on... the simple hack is to get the distro of the Hibernate Tools, remove all the distributed jars and folder (those that don't say hibernate) and copy the feature and the plugins to a fresh install of latest integration build of everything (Platform, GEF, EMF, VE, WST, [did I miss any?] and make sure you get the SDK version of everything (helps in debugging and you make sure you got everthing)

---

Of course the proper solution is to build the tools... but I got the Hibernate3, and HibernateExt (without the eclispe projects) to build but when I add the eclipse projects for the tools and run the update ant file.... it doesn't find some libs and the projects don't compile in Eclipse. I don't know which version of the tools to get (there are two in svn).

Anyway... hope that helps.

-H


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 14, 2006 1:51 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
where do you see two tools ? I only see one...

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 14, 2006 2:23 am 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
Looking at svn:

In the trunk I can find Hibernate3 and HibernateExt which is fine... but the question is: where are the Eclipse projects since they are not in the trunk?

There are two posibilities: branches and tags.

If I go to branches I find:

http://anonhibernate.labs.jboss.com/bra ... TA4_branch

while if I go to tags:

http://anonhibernate.labs.jboss.com/tag ... bernateExt

the dir structure and the revision numbers are different...

which one is the one to check out?

----

The next problem is that the build.bat has to be changed to run against hibernate-3.2 and not hibernate-3.1.

The problem after that is that the ant update cannot find a couple of jars in the lib from ..\HibernateExt\tools\target\hibernate-tools\lib [only freemaker and jtidy are present there]

The problem after that are problem with org.hibernate.eclipse project not having all the necesery libs and having a dependency to the org.hibernate.eclipse.console jar.

The org.hibernate.eclipse.console project doesn't compile due to way too many restrictions to internal Eclipse API's [this can be turned off...]

-----

Anyway... maybe the solution is just correctly checking out from svn.

-H


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 14, 2006 3:41 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
ah ok, so you are actually not seeing two, you are missing stuff ;)

the svn move changed some things and one of them was that the eclipse plugins were moved in under the jbosside project which reside in jboss's cvs (we can't use svn here since eclipse PDE is ancient ;(

In any case i'll update the build instructions ASAP

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 14, 2006 4:37 am 
Newbie

Joined: Fri Mar 10, 2006 2:23 pm
Posts: 9
ah... thanks. will give it another try and see.

BTW... you can use subversion for building but and that is BUT... then you are stuck with having to change the org.eclipse.releng scipts (basically replace the CVS tasks with the equivalent Subversion Ant task) AND maintain the scripts when the releng team changes them... (pain in the...)

Hmmm.... i wonder if you guys have implemented a full headless build? Don't answer... I will find out tomorow in the co from CVS.

thanks again.

have a good day (night?)

-H


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.