[JBoss Tools] New message: "Re: Adding JBoss AS source to a project"
by Max Andersen
User development,
A new message was posted in the thread "Adding JBoss AS source to a project":
http://community.jboss.org/message/523585#523585
Author : Max Andersen
Profile : http://community.jboss.org/people/max.andersen@jboss.com
Message:
--------------------------------------------------------------
> dgolovin wrote:
>
> > mailto:max.andersen@jboss.com wrote:
> >
> > Note, once we have a stable location for src's then jboss tools would most likely need to implement that for our classpath containers so you don't have to do it manually for each jar.
> Do you mean to have stable location somewhere available by http? Like maven repo or just site with stable structure for binaries/sources archives.
I mean if JBoss AS starts having their source available in standard maven location then we should utilize that as much as we can.
But m2eclipse doesn't control our classpath containers so we should update our classpath containers to either use the m2eclipse mechanism if present or replicate it to work even without m2eclipse configured/installed.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523585#523585
16 years, 2 months
[JBoss Tools] New message: "Re: Adding JBoss AS source to a project"
by Max Andersen
User development,
A new message was posted in the thread "Adding JBoss AS source to a project":
http://community.jboss.org/message/523584#523584
Author : Max Andersen
Profile : http://community.jboss.org/people/max.andersen@jboss.com
Message:
--------------------------------------------------------------
> I remember Rob mentioned plug-in in our lab component which has similar functionality and provides source lookup for *.src.zip files in selected for lookup folder. It can be adjusted to look inside *.jar files and after that we can handle looking into source archives inside selected source archive or file system. How, just by adding two types of source lookups: Eclipse's one for sources in external folder and our new one for archives in file system or archives inside archive.
>
> Considering all above it looks doable for me
If we can create a lookup mechanism that gets delegated to that will match the current "source" distros we have that would be useful in any case.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523584#523584
16 years, 2 months
[JBoss Tools] New message: "Re: Adding JBoss AS source to a project"
by Max Andersen
User development,
A new message was posted in the thread "Adding JBoss AS source to a project":
http://community.jboss.org/message/523582#523582
Author : Max Andersen
Profile : http://community.jboss.org/people/max.andersen@jboss.com
Message:
--------------------------------------------------------------
> mailto:max.andersen@jboss.com wrote:>
> > Beyond that the issue here is that JBoss AS should provide a src download that allows for easy matching of jar with source, one way would be if all the artifacts are in Maven repositories then we could attach the source automatically based on the Maven groupid and version.
> I couldn't find a way to get sources for jars built with maven using eclipse, I think that's a good feature to havein m2eclipse or in JBossTools.
m2eclipse has a preference that says if it should attempt to automatically download source and javadoc for jars that has it in the maven repo.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523582#523582
16 years, 2 months
[Beginner's Corner] New message: "Log4J conflict?"
by Bartek Kuczyński
User development,
A new message was posted in the thread "Log4J conflict?":
http://community.jboss.org/message/523574#523574
Author : Bartek Kuczyński
Profile : http://community.jboss.org/people/Koziołek
Message:
--------------------------------------------------------------
I use Jboss 4.2.3 and when I try to persist entity a get error like this: Caused by: java.lang.reflect.UndeclaredThrowableException at org.apache.commons.logging.impl.Log4jProxy.log(Log4jProxy.java:309) at org.apache.commons.logging.impl.Log4jProxy.warn(Log4jProxy.java:273) at org.apache.commons.logging.impl.Log4JLogger.warn(Log4JLogger.java:173) at org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:77) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:42) at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:96) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:212) at firma.security.server.model.dao.PrivilegeDAOServer.persist(PrivilegeDAOServer.java:140) at firma.stats.server.security.proxy.InstallService.install(InstallService.java:36) at sun.reflect.GeneratedMethodAccessor715.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) ... 22 more Caused by: java.lang.NullPointerException at org.apache.log4j.helpers.PatternConverter.spacePad(PatternConverter.java:107) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:80) at org.apache.log4j.PatternLayout.format(PatternLayout.java:502) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:302) at org.apache.log4j.WriterAppender.append(WriterAppender.java:160) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66) at org.apache.log4j.Category.callAppenders(Category.java:206) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.log(Category.java:856) at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.logging.impl.Log4jProxy.log(Log4jProxy.java:301) ... 41 more 2010-02-01 15:52:11,330 INFO [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@1092da7 java.lang.Throwable: STACKTRACE at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:290) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:423) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89) at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:38) at firma.security.server.model.dao.PrivilegeDAOServer.persist(PrivilegeDAOServer.java:139) at firma.stats.server.security.proxy.InstallService.install(InstallService.java:36) at sun.reflect.GeneratedMethodAccessor715.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:166) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) (Complite stack as attachment) My question is this exception could has source in difrend versions of log4j? The NPE look like the log4j doesn't have all dependences.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523574#523574
16 years, 2 months