[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1625) JBossQL ORDER BY does not work on string valued mapped types

2005-04-11 Thread cgs (JIRA)
 [ 
http://jira.jboss.com/jira/browse/JBAS-1625?page=comments#action_12316843 ]
 
cgs commented on JBAS-1625:
---

I should note that currentContactInfo.emailAddress is mapped with:



com.x.RFC2821Address
java.lang.String
com.x.RFC2821AddressMapper




> JBossQL ORDER BY does not work on string valued mapped types
> 
>
>  Key: JBAS-1625
>  URL: http://jira.jboss.com/jira/browse/JBAS-1625
>  Project: JBoss Application Server
> Type: Bug
>   Components: CMP service
> Versions: JBossAS-4.0.1 Final
>  Environment: Windows XP Pro SP2, JBoss 4.0.1, Sun JDK 1.5.0_02
> Reporter: cgs
> Assignee: Alexey Loubyansky

>
>
> 09:59:09,147 WARN  [ServiceController] Problem starting service 
> jboss.j2ee:jndiName=ejb/Contact,service=EJB
> org.jboss.deployment.DeploymentException: Error compiling JBossQL statement 
> 'SELECT DISTINCT OBJECT(c) FROM organization o, IN (o.contactList) AS c WHERE 
> o = ?1 ORDER BY c.currentContactInfo.lastName ASC, 
> c.currentContactInfo.firstName ASC, c.currentContactInfo.emailAddress ASC 
> OFFSET ?2 LIMIT ?3'; - nested throwable: 
> (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered 
> "c.currentContactInfo.emailAddress" at line 1, column 186.
> Was expecting one of:
>  ...
>  ...
>  ...
> )
>   at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.(JDBCJBossQLQuery.java:52)
>   at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createJBossQLQuery(JDBCCommandFactory.java:72)
>   at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:260)
>   at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490)
>   at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381)
>   at 
> org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
>   at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
>   at 
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
>   at 
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>   at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>   at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>   at 
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:416)
>   at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>   at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>   at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>   at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
>   at $Proxy304.start(Unknown Source)
>   at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
>   at 
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
>   at 
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
>   at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
>   at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>   at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>   at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
>   at 
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceCo

[JBoss-dev] [JBoss JIRA] Created: (JBAS-1314) NPE in SQLUtil.appendColumnNamesClause after configuring load group

2005-01-21 Thread cgs (JIRA)
NPE in SQLUtil.appendColumnNamesClause after configuring load group
---

 Key: JBAS-1314
 URL: http://jira.jboss.com/jira/browse/JBAS-1314
 Project: JBoss Application Server
Type: Bug
  Components: CMP service  
Versions: JBossAS-4.0.1 Final
Reporter: cgs
 Assigned to: Scott M Stark 


Right after I configured a named load group (used to be *), this happens.

org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 
'SELECT DISTINCT OBJECT(c) FROM campaign o, contact c, IN (o.list) AS mh WHERE 
o = ?1 AND c = mh.contactInfo.contact'; - nested throwable: 
(java.lang.NullPointerException)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:52)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:60)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:272)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy46.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  

[JBoss-dev] [JBoss JIRA] Commented: (JBIDE-107) Jasper tag file compiler does not get class path and fails

2005-02-15 Thread cgs (JIRA)
 [ 
http://jira.jboss.com/jira/browse/JBIDE-107?page=comments#action_12315409 ]
 
cgs commented on JBIDE-107:
---

Piotr:

None of your suggestions fix the problem.

> Jasper tag file compiler does not get class path and fails
> --
>
>  Key: JBIDE-107
>  URL: http://jira.jboss.com/jira/browse/JBIDE-107
>  Project: JBoss IDE
> Type: Bug
>  Environment: JBossIDE 1.4.0, JBoss AOP Extension 1.0.1, WinXP SP2, Eclipse 
> 3.0.1, Sun jdk1.5.0_01 
> Reporter: cgs
> Assignee: Marshall Culpepper

>
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
> Generated servlet error:
> Jan 14, 2005 9:31:46 PM org.apache.jasper.compiler.Compiler generateClass
> SEVERE: Javac exception 
> Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK
>   at 
> org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)
>   at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
>   at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
>   at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:389)
>   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:479)
>   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
>   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:446)
>   at 
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
>   at 
> org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:201)
>   at 
> org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:515)
>   at 
> org.apache.jasper.compiler.TagFileProcessor.access$0(TagFileProcessor.java:462)
>   at 
> org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:566)
>   at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
>   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
>   at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
>   at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2220)
>   at org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
>   at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
>   at 
> org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:584)
>   at 
> org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.parseJSP(JSPProject.java:669)
>   at 
> org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.internalCompileJSP(JSPProject.java:562)
>   at 
> org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.compileJSP(JSPProject.java:115)
>   at 
> org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.processFile(JSPBuilder.java:186)
>   at 
> org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.visit(JSPBuilder.java:57)
>   at 
> org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
>   at 
> org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:55)
>   at 
> org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:78)
>   at 
> org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
>   at 
> org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
>   at 
> org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
>   at 
> org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
>   at 
> org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:123)
>   at org.eclipse.core.internal.resources.Resource.accept(Resource.java:65)
>   at 
> org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
>   at org.eclipse.core.internal.resources.Resource.accept(Resource.java:85)
>   at 
> org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.fullBuild(JSPBuilder.java:159)
>   at 
> org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.build(JSPBuilder.java:120)
>   at 
> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
>   at 
> org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
>   at org.eclipse.core.runtime.Platform.run(Platform.java:747)
>   at 
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
>   at 
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
>   at 
> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
>   at 
> org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)

[JBoss-dev] [JBoss JIRA] Created: (JBAS-1546) ejbSelect

2005-03-02 Thread cgs (JIRA)
ejbSelect
-

 Key: JBAS-1546
 URL: http://jira.jboss.com/jira/browse/JBAS-1546
 Project: JBoss Application Server
Type: Bug
  Components: CMP service  
Versions: JBossAS-4.0.1 Final
 Environment: Linux, Sun JDK 1.5.0_01
Reporter: cgs


Multiple ejbSelect methods with signatures like the following does not work.

OtherLocal ejbSelectOther(SomethingLocal ejb, Long id)
OtherLocal ejbSelectOther(SomethingLocal ejb, String name)

This is what happens:

SEVERE: Remote Exception
org.jboss.tm.JBossTransactionRolledbackException: Unexpected Error
java.lang.AbstractMethodError: 
com.xxx.ejb.ThingEJB.ejbSelectOther(Lcom/xxx/interfaces/ThingLocal;Ljava/lang/String;)Lcom/xxx/interfaces/OtherLocal;
at com.xxx.ejb.ThingEJB.selectOther(ThingEJB.java:500)
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:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1174)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:72)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:273)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:111)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:242)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:123)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514)
at org.jboss.ejb.Container.invoke(Container.java:870)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)
at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
at $Proxy121.selectOther(Unknown Source)
[...]

Renaming the methods to something like the following works fine.

OtherLocal ejbSelectOtherById(SomethingLocal ejb, Long id)
OtherLocal ejbSelectOtherByName(SomethingLocal ejb, String name)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Updated: (JBAS-1546) ejbSelect methods with same name, diferent signatures does not work

2005-03-02 Thread cgs (JIRA)
 [ http://jira.jboss.com/jira/browse/JBAS-1546?page=history ]

cgs updated JBAS-1546:
--

Summary: ejbSelect methods with same name, diferent signatures does not 
work  (was: ejbSelect)

> ejbSelect methods with same name, diferent signatures does not work
> ---
>
>  Key: JBAS-1546
>  URL: http://jira.jboss.com/jira/browse/JBAS-1546
>  Project: JBoss Application Server
> Type: Bug
>   Components: CMP service
> Versions: JBossAS-4.0.1 Final
>  Environment: Linux, Sun JDK 1.5.0_01
> Reporter: cgs

>
>
> Multiple ejbSelect methods with signatures like the following does not work.
> OtherLocal ejbSelectOther(SomethingLocal ejb, Long id)
> OtherLocal ejbSelectOther(SomethingLocal ejb, String name)
> This is what happens:
> SEVERE: Remote Exception
> org.jboss.tm.JBossTransactionRolledbackException: Unexpected Error
> java.lang.AbstractMethodError: 
> com.xxx.ejb.ThingEJB.ejbSelectOther(Lcom/xxx/interfaces/ThingLocal;Ljava/lang/String;)Lcom/xxx/interfaces/OtherLocal;
> at com.xxx.ejb.ThingEJB.selectOther(ThingEJB.java:500)
> 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:585)
> at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
> at 
> org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1174)
> at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:72)
> at 
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:273)
> at 
> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
> at 
> org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:111)
> at 
> org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:242)
> at 
> org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
> at 
> org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53)
> at 
> org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
> at 
> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
> at 
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
> at 
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
> at 
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:123)
> at 
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
> at 
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
> at 
> org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514)
> at org.jboss.ejb.Container.invoke(Container.java:870)
> at 
> org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)
> at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
> at $Proxy121.selectOther(Unknown Source)
> [...]
> Renaming the methods to something like the following works fine.
> OtherLocal ejbSelectOtherById(SomethingLocal ejb, Long id)
> OtherLocal ejbSelectOtherByName(SomethingLocal ejb, String name)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1546) ejbSelect methods with same name, diferent signatures does not work

2005-03-04 Thread cgs (JIRA)
 [ 
http://jira.jboss.com/jira/browse/JBAS-1546?page=comments#action_12315879 ]
 
cgs commented on JBAS-1546:
---

These are the ones that do not work (before changing the method names):

/**
 * @ejb.interface-method
 * 
 * @ejb.select
 * query="SELECT DISTINCT OBJECT(c)
 * FROM something o,
 * IN (o.otherList) AS c
 * WHERE o = ?1
 * AND c.id = ?2"
 * 
 * @param somethingLocal
 * @param id
 * @return OtherLocal
 * @throws FinderException
 */
public abstract OtherLocal ejbSelectOther(SomethingLocal 
somethingLocal, Long id)
throws FinderException;

/**
 * @ejb.interface-method
 * 
 * @ejb.select
 * query="SELECT DISTINCT OBJECT(c)
 * FROM something o,
 * IN (o.otherList) AS c
 * WHERE o = ?1
 * AND c.name = ?2"
 * 
 * @param somethingLocal
 * @param name
 * @return OtherLocal
 * @throws FinderException
 */
public abstract OtherLocal ejbSelectOther(SomethingLocal 
somethingLocal, String name)
throws FinderException;


> ejbSelect methods with same name, diferent signatures does not work
> ---
>
>  Key: JBAS-1546
>  URL: http://jira.jboss.com/jira/browse/JBAS-1546
>  Project: JBoss Application Server
> Type: Bug
>   Components: CMP service
> Versions: JBossAS-4.0.1 Final
>  Environment: Linux, Sun JDK 1.5.0_01
> Reporter: cgs

>
>
> Multiple ejbSelect methods with signatures like the following does not work.
> OtherLocal ejbSelectOther(SomethingLocal ejb, Long id)
> OtherLocal ejbSelectOther(SomethingLocal ejb, String name)
> This is what happens:
> SEVERE: Remote Exception
> org.jboss.tm.JBossTransactionRolledbackException: Unexpected Error
> java.lang.AbstractMethodError: 
> com.xxx.ejb.ThingEJB.ejbSelectOther(Lcom/xxx/interfaces/ThingLocal;Ljava/lang/String;)Lcom/xxx/interfaces/OtherLocal;
> at com.xxx.ejb.ThingEJB.selectOther(ThingEJB.java:500)
> 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:585)
> at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
> at 
> org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1174)
> at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:72)
> at 
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:273)
> at 
> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
> at 
> org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:111)
> at 
> org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:242)
> at 
> org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
> at 
> org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53)
> at 
> org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
> at 
> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
> at 
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
> at 
> org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:146)
> at 
> org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:123)
> at 
> org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
> at 
> org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
> at 
> org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514)
> at org.jboss.ejb.Container.invoke(Container.java:870)
> at 
> org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413)
> at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
> at $Proxy121.selectOther(Unknown Source)
> [...]
> Renaming the methods to something like the following works fine.
> OtherLocal ejbSelectOtherById(SomethingLocal ejb, Long id)
> OtherLocal ejbSelectOtherByName(SomethingLocal ejb, String name)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administra

[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1190) Problem deleting relations

2005-03-09 Thread cgs (JIRA)
 [ 
http://jira.jboss.com/jira/browse/JBAS-1190?page=comments#action_12316019 ]
 
cgs commented on JBAS-1190:
---

I also have this problem but with a different symptom.  MySQL can handle the 
large query, but the delete is so large and slow that it takes forever to 
execute by specifying all of the IDs in the relation table explicitly.  The 
query eventually returns successfully, but by then the container transaction 
has already timed out and rolls the whole thing back.

> Problem deleting relations
> --
>
>  Key: JBAS-1190
>  URL: http://jira.jboss.com/jira/browse/JBAS-1190
>  Project: JBoss Application Server
> Type: Bug
>   Components: CMP service
> Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assignee: Alexey Loubyansky

>
>
> SourceForge Submitter: javierpedrido .
> I have two CMP 2.x entity beans that have a m:n
> relationship (ModelEJB and NodeEJB) and a typical model
> has thousands of nodes. The problems arrises when I
> want to delete all the nodes related to a model, the
> class
> org.jboss.ejb.plugins.cmp.jdbc.JDBCDeleteRelationsCommand
> creates a sql command so large that neither Oracle nor
> MS SqlServer can handle it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1190) Problem deleting relations

2005-03-09 Thread cgs (JIRA)
 [ 
http://jira.jboss.com/jira/browse/JBAS-1190?page=comments#action_12316021 ]
 
cgs commented on JBAS-1190:
---

When a relation's collection is empty via a clear() on the collection, emptying 
out all of the contents some other way, or from an ejbRemove, the delete query 
should do this:

DELETE FROM relation_table_x t1 WHERE t1.fk2 = ?

Not this:

DELETE FROM relation_table_x t1 WHERE (t1.fk1 = ? AND t1.fk2 = ?) OR (t1.fk1 = 
? AND t1.fk2 = ?) OR ...


> Problem deleting relations
> --
>
>  Key: JBAS-1190
>  URL: http://jira.jboss.com/jira/browse/JBAS-1190
>  Project: JBoss Application Server
> Type: Bug
>   Components: CMP service
> Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assignee: Alexey Loubyansky

>
>
> SourceForge Submitter: javierpedrido .
> I have two CMP 2.x entity beans that have a m:n
> relationship (ModelEJB and NodeEJB) and a typical model
> has thousands of nodes. The problems arrises when I
> want to delete all the nodes related to a model, the
> class
> org.jboss.ejb.plugins.cmp.jdbc.JDBCDeleteRelationsCommand
> creates a sql command so large that neither Oracle nor
> MS SqlServer can handle it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1190) Problem deleting relations

2005-03-09 Thread cgs (JIRA)
 [ 
http://jira.jboss.com/jira/browse/JBAS-1190?page=comments#action_12316022 ]
 
cgs commented on JBAS-1190:
---

Also, my comments are for version 4.0.1.  I don't know if a subtask is 
preferred...

> Problem deleting relations
> --
>
>  Key: JBAS-1190
>  URL: http://jira.jboss.com/jira/browse/JBAS-1190
>  Project: JBoss Application Server
> Type: Bug
>   Components: CMP service
> Versions: JBossAS-3.2.6 Final
> Reporter: SourceForge User
> Assignee: Alexey Loubyansky

>
>
> SourceForge Submitter: javierpedrido .
> I have two CMP 2.x entity beans that have a m:n
> relationship (ModelEJB and NodeEJB) and a typical model
> has thousands of nodes. The problems arrises when I
> want to delete all the nodes related to a model, the
> class
> org.jboss.ejb.plugins.cmp.jdbc.JDBCDeleteRelationsCommand
> creates a sql command so large that neither Oracle nor
> MS SqlServer can handle it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Created: (JBAS-1573) NPE in SQLUtil.appendColumnNamesClause

2005-03-11 Thread cgs (JIRA)
NPE in SQLUtil.appendColumnNamesClause
--

 Key: JBAS-1573
 URL: http://jira.jboss.com/jira/browse/JBAS-1573
 Project: JBoss Application Server
Type: Bug
  Components: CMP service  
Versions: JBossAS-4.0.1 Final
 Environment: Windows XP Pro SP2, JBoss 4.0.1, Sun JDK 1.5.0_01
Reporter: cgs


ejbSelect JBoss-QL query does not build successfully and throws NPE in 
SQLUtil.appendColumnNamesClause.  This query works for bean X relating to the 
same related bean Y, but not for bean Z.  They are both M:N relations.

 * @jboss.query
 * signature="java.util.Collection 
ejbSelectContactList(com.xxx.emm.interfaces.CampaignLocal campaignLocal, int 
offset, int limit)"
 * query="SELECT DISTINCT OBJECT(co)
 * FROM campaign c,
 * IN (c.contactList) AS co
 * WHERE c = ?1
 * ORDER BY co.id ASC
 * OFFSET ?2
 * LIMIT ?3"
 * 

Here's the stack trace:

2005-03-12 00:30:05,607 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Campaign#ejbSelectContactList] 
JBossQL: SELECT DISTINCT OBJECT(co) FROM campaign c, IN (c.contactList) AS co 
WHERE c = ?1 ORDER BY co.id ASC OFFSET ?2 LIMIT ?3
2005-03-12 00:30:05,607 INFO  [STDOUT] java.lang.NullPointerException
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.appendColumnNamesClause(SQLUtil.java:386)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.selectEntity(JDBCEJBQLCompiler.java:1849)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.visit(JDBCEJBQLCompiler.java:1012)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.ejbql.ASTSelect.jjtAccept(ASTSelect.java:25)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.visit(JDBCEJBQLCompiler.java:510)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.ejbql.ASTEJBQL.jjtAccept(ASTEJBQL.java:23)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileJBossQL(JDBCEJBQLCompiler.java:197)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.(JDBCJBossQLQuery.java:43)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createJBossQLQuery(JDBCCommandFactory.java:72)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:260)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at $Proxy0.start(Unknown Source)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.system.ServiceController.start(ServiceController.java:416)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
java.lang.reflect.Method.invoke(Method.java:585)
2005-03-12 00:30:05,607 INFO  [STDOUT]  at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
2005-03-12 00:30:

[JBoss-dev] [JBoss JIRA] Commented: (JBAS-1573) NPE in SQLUtil.appendColumnNamesClause

2005-03-15 Thread cgs (JIRA)
 [ 
http://jira.jboss.com/jira/browse/JBAS-1573?page=comments#action_12316173 ]
 
cgs commented on JBAS-1573:
---

For the class that this selector is in, I am using:

 * @jboss.eager-load-group
 * name="most"
 * 
 * @jboss.load-group
 * name="most"
 * 
 * @jboss.read-ahead
 * strategy="on-find"
 * page-size="25"
 * eager-load-group="most"

By disabling the read-ahead with:

 * ---jboss.read-ahead
 * strategy="on-find"
 * page-size="25"
 * eager-load-group="most"

... the QL is compiled.


> NPE in SQLUtil.appendColumnNamesClause
> --
>
>  Key: JBAS-1573
>  URL: http://jira.jboss.com/jira/browse/JBAS-1573
>  Project: JBoss Application Server
> Type: Bug
>   Components: CMP service
> Versions: JBossAS-4.0.1 Final
>  Environment: Windows XP Pro SP2, JBoss 4.0.1, Sun JDK 1.5.0_01
> Reporter: cgs
> Assignee: Alexey Loubyansky

>
>
> ejbSelect JBoss-QL query does not build successfully and throws NPE in 
> SQLUtil.appendColumnNamesClause.  This query works for bean X relating to the 
> same related bean Y, but not for bean Z.  They are both M:N relations.
>  * @jboss.query
>  * signature="java.util.Collection 
> ejbSelectContactList(com.xxx.emm.interfaces.CampaignLocal campaignLocal, int 
> offset, int limit)"
>  * query="SELECT DISTINCT OBJECT(co)
>  * FROM campaign c,
>  * IN (c.contactList) AS co
>  * WHERE c = ?1
>  * ORDER BY co.id ASC
>  * OFFSET ?2
>  * LIMIT ?3"
>  * 
> Here's the stack trace:
> 2005-03-12 00:30:05,607 DEBUG 
> [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Campaign#ejbSelectContactList]
>  JBossQL: SELECT DISTINCT OBJECT(co) FROM campaign c, IN (c.contactList) AS 
> co WHERE c = ?1 ORDER BY co.id ASC OFFSET ?2 LIMIT ?3
> 2005-03-12 00:30:05,607 INFO  [STDOUT] java.lang.NullPointerException
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.appendColumnNamesClause(SQLUtil.java:386)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.selectEntity(JDBCEJBQLCompiler.java:1849)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.visit(JDBCEJBQLCompiler.java:1012)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.ejbql.ASTSelect.jjtAccept(ASTSelect.java:25)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.visit(JDBCEJBQLCompiler.java:510)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.ejbql.ASTEJBQL.jjtAccept(ASTEJBQL.java:23)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileJBossQL(JDBCEJBQLCompiler.java:197)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.(JDBCJBossQLQuery.java:43)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createJBossQLQuery(JDBCCommandFactory.java:72)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:260)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> java.lang.reflect.Method.invoke(Method.java:585)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
> 2005-03-12 00:30:05,607 INFO  [STDOUT]at 
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
> 2005-03-12 00:

[JBoss-dev] [JBoss JIRA] Created: (JBAS-1625) JBossQL ORDER BY does not work on string valued mapped types

2005-03-28 Thread cgs (JIRA)
JBossQL ORDER BY does not work on string valued mapped types


 Key: JBAS-1625
 URL: http://jira.jboss.com/jira/browse/JBAS-1625
 Project: JBoss Application Server
Type: Bug
  Components: CMP service  
Versions: JBossAS-4.0.1 Final
 Environment: Windows XP Pro SP2, JBoss 4.0.1, Sun JDK 1.5.0_02
Reporter: cgs


09:59:09,147 WARN  [ServiceController] Problem starting service 
jboss.j2ee:jndiName=ejb/Contact,service=EJB
org.jboss.deployment.DeploymentException: Error compiling JBossQL statement 
'SELECT DISTINCT OBJECT(c) FROM organization o, IN (o.contactList) AS c WHERE o 
= ?1 ORDER BY c.currentContactInfo.lastName ASC, c.currentContactInfo.firstName 
ASC, c.currentContactInfo.emailAddress ASC OFFSET ?2 LIMIT ?3'; - nested 
throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered 
"c.currentContactInfo.emailAddress" at line 1, column 186.
Was expecting one of:
 ...
 ...
 ...
)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.(JDBCJBossQLQuery.java:52)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createJBossQLQuery(JDBCCommandFactory.java:72)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:260)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy304.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:394)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

[JBoss-dev] [JBoss JIRA] Created: (JBAS-1263) EJB-QL for "IS EMPTY" on relation table uses wrong column and is broken in general

2005-01-03 Thread cgs (JIRA)
EJB-QL for "IS EMPTY" on relation table uses wrong column and is broken in 
general
--

 Key: JBAS-1263
 URL: http://jira.jboss.com/jira/browse/JBAS-1263
 Project: JBoss Application Server
Type: Bug
  Components: CMP service  
Versions: JBossAS-4.0.1 Final, JBossAS-4.0.0 Final
 Environment: JDK 1.5.0, Windows XP+SP2, MySQL, Connector/J 3.1.6
Reporter: cgs
 Assigned to: Scott M Stark 


TemplateEJB:

 * @ejb.finder
 * signature="java.util.Collection findPublic()"
 * query="SELECT DISTINCT OBJECT(o)
 * FROM template o
 * WHERE o.organizationList IS EMPTY"

/**
 * @ejb.interface-method
 * 
 * @ejb.relation
 * name="Organization-Template"
 * role-name="template-belongs-to-organization"
 * 
 * @jboss.relation
 * fk-constraint="true"
 * fk-column="organization_id"
 * related-pk-field="id"
 * 
 * @jboss.relation-table
 * table-name="template_to_organization"
 */
public abstract Set getOrganizationList();
public abstract void setOrganizationList(Set organizationList);

OrganizationEJB:

/**
 * @ejb.interface-method
 * 
 * @ejb.relation
 * name="Organization-Template"
 * role-name="organization-has-templates"
 * 
 * @jboss.relation
 * fk-constraint="true"
 * fk-column="template_id"
 * related-pk-field="id"
 * 
 * @jboss.relation-table
 * table-name="template_to_organization"
 */
public abstract Set getTemplateList();
public abstract void setTemplateList(Set templateList);

The SQL that is generated for the finder is:

SELECT DISTINCT
t0_o.id, t0_o.image, t0_o.image_thumbnail, t0_o.image_thumbnail_type,
t0_o.image_type, t0_o.name, t0_o.template, t0_o.time_created,
t0_o.time_updated, t0_o.uuid
FROM
template t0_o,
organization t2_o_organizationList,
template_to_organization t1_o_organizationList_RELATION_T
WHERE (
t1_o_organizationList_RELATION_T.template_id IS NULL AND
t0_o.id=t1_o_organizationList_RELATION_T.template_id AND
t2_o_organizationList.id=t1_o_organizationList_RELATION_T.organization_id
)

The first condition shouldn't be checking if ``template_id IS NULL'', but 
``organization_id IS NULL''.  Even if it properly checked organization_id, the 
query still would not work.  If a relation using a relation table has an empty 
list, the second condition is never matched.  The list is always empty and it 
cannot proceed.  (t1_o_organizationList_RELATION_T.template_id will never have 
any values in an empty relation.)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Created: (JBIDE-101) JSP EL compilation causes Eclipse hang

2005-01-07 Thread cgs (JIRA)
JSP EL compilation causes Eclipse hang
--

 Key: JBIDE-101
 URL: http://jira.jboss.com/jira/browse/JBIDE-101
 Project: JBoss IDE
Type: Bug
 Environment: Eclipse 3.0.1 build 200409161125, JDK 1.4.2_06, Windows XP SP2, 
JBoss IDE 1.4.0
Reporter: cgs
 Assigned to: Marshall Culpepper 
Priority: Critical


The JSP editor's EL compiler ends up using all available JVM memory and 100% 
CPU when it happens upon a bad EL expression.  One example is:

 ...


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss JIRA] Created: (JBIDE-106) AopProjectBuilder fails during build

2005-01-14 Thread cgs (JIRA)
AopProjectBuilder fails during build


 Key: JBIDE-106
 URL: http://jira.jboss.com/jira/browse/JBIDE-106
 Project: JBoss IDE
Type: Bug
  Components: AOP Plugin  
 Environment: JBossIDE 1.4.0, JBoss AOP Extension 1.0.1, WinXP SP2, Eclipse 
3.0.1, Sun jdk1.5.0_01
Reporter: cgs
 Assigned to: Marshall Culpepper 


After converting a working project to an AOP project, without applying aspects 
to anything, project fails to build.

Errors:

Errors running builder "AOP Project Builder" on project .

java.lang.NoClassDefFoundError: org/apache/struts/validator/DynaValidatorForm
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil.loadFile(JaxbReportUtil.java:124)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil.access$0(JaxbReportUtil.java:112)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil$1.visit(JaxbReportUtil.java:87)
at 
org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
at 
org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:55)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:78)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:123)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:65)
at 
org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:85)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil.getAopReport(JaxbReportUtil.java:80)
at 
org.jboss.ide.eclipse.jdt.aop.core.AopCorePlugin.updateProjectReport(AopCorePlugin.java:435)
at 
org.jboss.ide.eclipse.jdt.aop.core.project.AopProjectBuilder.finishBuild(AopProjectBuilder.java:157)
at 
org.jboss.ide.eclipse.jdt.aop.core.project.AopProjectBuilder.build(AopProjectBuilder.java:119)
at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
at 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)
at 
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at 
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Jan 14, 2005 12:37:53 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Javac exception 
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
at 
org.ap

[JBoss-dev] [JBoss JIRA] Updated: (JBIDE-106) AopProjectBuilder fails during build

2005-01-14 Thread cgs (JIRA)
 [ http://jira.jboss.com/jira/browse/JBIDE-106?page=history ]

cgs updated JBIDE-106:
--

Description: 
After converting a working project to an AOP project, without applying aspects 
to anything, project fails to build.

Errors:

Errors running builder "AOP Project Builder" on project .

java.lang.NoClassDefFoundError: org/apache/struts/validator/DynaValidatorForm
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil.loadFile(JaxbReportUtil.java:124)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil.access$0(JaxbReportUtil.java:112)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil$1.visit(JaxbReportUtil.java:87)
at 
org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
at 
org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:55)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:78)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:123)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:65)
at 
org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:85)
at 
org.jboss.ide.eclipse.jdt.aop.core.util.JaxbReportUtil.getAopReport(JaxbReportUtil.java:80)
at 
org.jboss.ide.eclipse.jdt.aop.core.AopCorePlugin.updateProjectReport(AopCorePlugin.java:435)
at 
org.jboss.ide.eclipse.jdt.aop.core.project.AopProjectBuilder.finishBuild(AopProjectBuilder.java:157)
at 
org.jboss.ide.eclipse.jdt.aop.core.project.AopProjectBuilder.build(AopProjectBuilder.java:119)
at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
at 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:270)
at 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:299)
at 
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:155)
at 
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:212)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)




  was:
After converting a working project to an AOP project, without applying aspects 
to anything, project fails to build.

Errors:

Errors running builder "AOP Project Builder" on project .

java.lang.NoClassDefFoundError: org/apache/struts/validator/DynaValidatorForm
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown So

[JBoss-dev] [JBoss JIRA] Created: (JBIDE-107) Jasper tag file compiler does not get class path and fails

2005-01-14 Thread cgs (JIRA)
Jasper tag file compiler does not get class path and fails
--

 Key: JBIDE-107
 URL: http://jira.jboss.com/jira/browse/JBIDE-107
 Project: JBoss IDE
Type: Bug
 Environment: JBossIDE 1.4.0, JBoss AOP Extension 1.0.1, WinXP SP2, Eclipse 
3.0.1, Sun jdk1.5.0_01 
Reporter: cgs
 Assigned to: Marshall Culpepper 


org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Jan 14, 2005 9:31:46 PM org.apache.jasper.compiler.Compiler generateClass
SEVERE: Javac exception 
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
at 
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:389)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:479)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:446)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at 
org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:201)
at 
org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:515)
at 
org.apache.jasper.compiler.TagFileProcessor.access$0(TagFileProcessor.java:462)
at 
org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:566)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1442)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2220)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
at 
org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:584)
at 
org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.parseJSP(JSPProject.java:669)
at 
org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.internalCompileJSP(JSPProject.java:562)
at 
org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.jasper.JSPProject.compileJSP(JSPProject.java:115)
at 
org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.processFile(JSPBuilder.java:186)
at 
org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.visit(JSPBuilder.java:57)
at 
org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:108)
at 
org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:55)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:78)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
at 
org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:123)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:65)
at 
org.eclipse.core.internal.resources.Resource.accept(Resource.java:106)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:85)
at 
org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.fullBuild(JSPBuilder.java:159)
at 
org.jboss.ide.eclipse.jdt.j2ee.jsp.core.compiler.JSPBuilder.build(JSPBuilder.java:120)
at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:570)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:159)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:251)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:204)
at 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at 
org.eclipse.core.internal