[JBoss Eclipse IDE (users)] - why scriplet code pop up
by chaman4110
when i write scriptlet code in jsp editor (e.g. request.getAttribute()) it doesnot show code help pop up menu, above request can be written manually. it gives following error in log file when i press crtl+space. i use jboss-ide1.5 .
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/codeassist/CompletionRequestorWrapper
at org.jboss.ide.eclipse.jdt.j2ee.jsp.ui.editors.JSPConfiguration.getContentAssistant(JSPConfiguration.java:192)
at org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:326)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2381)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(Abstr
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964521#3964521
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964521
19 years, 9 months
[JBoss Messaging] - Re: SQLException: Invalid column index in CR4
by davidrh
I have solved the main part of the problem. We were running with an out of date oracle-persistence-service.xml definition. Sorry for the alarm.
We are still getting the following error when we start JBoss up:
10:04:31,904 ERROR [ExceptionUtil] SessionEndpoint[-2147483645] createQueue [5c4o23-anhvr9-eqpssjns-1-eqpssxsw-4]
javax.jms.JMSException: There is no administratively defined queue with name:publish.request
at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createQueue(ServerSessionEndpoint.java:341)
at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createQueue$aop(SessionAdvised.java:96)
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:324)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101)
at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:999)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:848)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:447)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:534)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:257)
Even though that queue does exist and I can see it in the JMX console. It doesn't seem to effect the queues operation though.
When we shut down, we still get the exception shown below but it doesn't seem to affect the operation of the queue when we start JBoss back up.
10:59:53,896 FATAL [RegularObjectPersister] error
java.lang.reflect.InvocationTargetException
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:324)
at org.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964513#3964513
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964513
19 years, 9 months
[EJB 3.0] - Proxy classes on @Inheritance types not honoring derived typ
by hindog
JBoss 4.0.4 GA Patch 1, ejb3-clustered from .jar installer
I have a hierarchy of entities using JOINED inheritance, the hierarchy is:
Structure
-> House
-> Apartment
(Structure is the root of the hierarchy flagged with @Inheritance attribute, the others extend Structure and provide @DiscriminatorValue's )
I have @OneToMany lazy loading from another bean to get all of the "Structure"s that are associated with it, and the method returns all of the Structure's (House and/or Apartments), but the returned objects cannot be cast to their appropriate type. IE:
List< Structure > structures = myBlock.getStructures();
for( Structure structure : structures )
{
if ( structure instanceof House ) { ... } // this is always false
if ( structure instanceof Apartment ) { ... } // this is always false
}
and deliberately casting to a sub-type via:
((House)structure).doSomething() throws a class cast exception, even though the entity in question is discriminated as a House.
I've tried both javassist and cglib byte enhancers, both produce the ClassCastException
So is this a bug?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964512#3964512
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964512
19 years, 9 months