[JBoss-user] [EJB/JBoss] - Why do I get this IllegalStateException from MarshalledInvoc

2006-03-07 Thread askesis
Hi, I am trying to run a Swing/JBoss based J2EE application. If I call a specific SessionBean's method with a XDoclet generated ValueObject as it's only argument, I get a client side IllegalStateException, with "getArguments failed" as the message. The same bean but other methods and other Valu

[JBoss-user] [Installation, Configuration & Deployment] - Reasons for: IllegalStateException: getArguments failed????

2006-03-05 Thread askesis
Hi, I am trying to run a J2EE application that used to run on JBoss 4.0.3SP1 on 4.0.4RC1. If I call a SessionBean's method I get an IllegalStateException, with "getArguments failed" as the message. What are the (possible/most obvious ?) reasons that a IllegalStateExcpetion with the message "g

[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Missing/grayed xdoclet and packaging menu panic after up

2006-01-10 Thread askesis
To answer my own question: I used a custom Java based perspective, created by "save perspective as". After opening and closing a basic Java perspective, I could use the menu options again in my custom Java perspective. Joost View the original post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [JBoss Eclipse IDE (users)] - Missing/grayed xdoclet and packaging menu panic after upgrad

2006-01-10 Thread askesis
Hi, After upgrading to JBoss IDE 1.5.0 and WTP 1.0 I suddenly cannot run xdoclet or packaging anymore because the menu options are grayed out. What do I have to do to get those working again? TIA Joost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916616

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: What is wrong with my ejb-ql????

2006-01-02 Thread askesis
I have found the sollution of my problem. An ejb-ql query is (obvious??) not in terms of table.column but in terms of object.attribute. So the correct query is: | * @ejb.finder signature = "nl.muntpost.interfaces.StockArticle findByArticle(java.lang.String article)" | *

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: What is wrong with my ejb-ql????

2006-01-02 Thread askesis
An addition: could it have anything to do with the fact the "article" is a CMR field (for which the table in which the StockArticles are stored has a column "article")? TIA Joost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915152#3915152 Reply to the po

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - What is wrong with my ejb-ql????

2006-01-02 Thread askesis
I have defined this query: | * @ejb.finder signature = "nl.muntpost.interfaces.StockArticle findByArticle(java.lang.String articleObjectId)" | * query = "SELECT OBJECT(c) FROM StockArticles AS c WHERE c.article = ?1" | The bean has a attribute "article" (

[JBoss-user] [JBoss Eclipse IDE (users)] - how to xdoclet customer with multiple 1-n addresses ???

2005-12-15 Thread askesis
I have a customer with 2 1-n address relations. What should be the xdoclet tags I must use to specify the relationshIp if I want to use 1 customer table, 2 join tables and 1 address table? TIA Joost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912887#39

[JBoss-user] [JBoss Eclipse IDE (users)] - Modifying ValueObject using valueobject-custom.xdt???

2005-11-28 Thread askesis
I want to modify my valueobjects using the valueobject-custom.xdt merge points. Does the JBoss IDE support this? I have tried setting the mergeDir of the ejbdoclet-valueobject task to the directory of choice, and than adding a file "{0}VO.java" to that directory but that had no effect (VO is

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Strange SQL generated by JBoss???

2005-11-24 Thread askesis
I Have 2 classes that have a 1:n unidirectional relation ship, customer / bankaccounts. During the findAll() of customer the following SQL is logged: 7:06:49,738 DEBUG [Customer#findByPrimaryKey] Executing SQL: SELECT t0_Customer.objectId FROM prototype.customers t0_Customer WHERE t0_Customer.

[JBoss-user] [Security & JAAS/JBoss] - Howto Swing / Jaas /EJB /Xdoclet question?

2005-10-27 Thread askesis
Hi, I have a Swing client that accesses an EJB. I want to anable a JDBC client login. I have 3 questions: - Is there a good tutorial / document available that explains how to use Xdoclets in combination with JBoss, JAAS an Swing ? - What XDoclet tags do I have to use to give the user "john" wit

[JBoss-user] [Persistence & CMP/JBoss] - Why the multiple sql select for findByPrimaryKey JBoss 4.01

2005-04-16 Thread askesis
Why does JBoss generate multiple select statements (see log below) for a single findByPrimaryKey finder? As I suspected that it is had something to do with the read-ahead-strategy I have tried to use the XDoclet tag @jboss.read-ahead strategy = "none" but that did not change anything TIA J

[JBoss-user] [Persistence & CMP/JBoss] - What is wrong with this xdoclet EQL finder tags??

2005-04-13 Thread askesis
What is wrong with this xdoclet EQL finder tags (which deploys OK without the wher clause): | @ejb.finder | signature = "nl.wifi4all.interfaces.ClientAntenna findByCustomer(java.lang.String customerObjectId)" | query = "SELECT OBJECT(c) FROM ClientAntenna AS c WHERE c.custom

[JBoss-user] [Management, JMX/JBoss] - MBean for a service?

2005-03-08 Thread askesis
I need a ModelManager for my application that actively monitors transient non-J2EE data (local and remote TCP/IP data, SNMP info etc. throught CORBA). That data must be available to the EJB's in my application. This ModelManager must be running always as long as the application is deployed (not

[JBoss-user] [Beginners Corner] - MBean for a service?

2005-03-07 Thread askesis
I need a ModelManager for my application that actively monitors transient non-J2EE data (local and remote TCP/IP data, SNMP info etc. throught CORBA). That data must be available to the EJB's in my application. This ModelManager must be running always as long as the application is deployed (not

[JBoss-user] [Installation & Configuration] - Web console applet does not load

2004-11-01 Thread askesis
Often the web console applet does not load with the following exceptions/message: java.net.ProtocolException: Server redirected too many times (20) ... load: class org.jboss.console.navtree.AppletBrowser not found. java.lang.ClassNotFoundException: org.jboss.console.navtree.AppletBrowser ... Caus

[JBoss-user] [Security & JAAS/JBoss] - Different bowser behaviour Mozilla 1.7 / IE 6, same JVM 1.4.

2004-11-01 Thread askesis
The same J2EE app behaves diffently when accessed by Mozilla 1.7 or IE 6, Sun Java JVM 1.4.2. With Mozilla everyting works as expected but IE give the follwing exceptions: javax.naming.CommunicationException: Operation failed [Root exception is java.rmi.ServerException: IOE; nested exception i

[JBoss-user] [Security & JAAS/JBoss] - Double login problem HTML / Applet

2004-11-01 Thread askesis
Is it correct that if I use the UsersRolesLoginModule that I have to login 2 times: the first time for getting at a static html page (with a web browser login window) with an OK button, the second time, after clicking on the ok button to load a page with an applets that connect to an EJB (with a

[JBoss-user] [Installation & Configuration] - Multihomed/named host with JNDI/RMI over HTTP

2004-10-05 Thread askesis
I have a multihomed (2 ip addresses) / multinamed (the host has multiple names) host. I want to use JNDI and RMI over HTTP. Is that possible and if so, how do I configure that (in the http-invoker.sar's jboss-service.xml???)? View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [EJB/JBoss] - Re: NamingException in Applet

2004-04-01 Thread askesis
Will this adaption be done automagically (by you?) or should I file a bug (?) report somewhere? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828581#3828581 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828581

[JBoss-user] [EJB/JBoss] - Re: NamingException in Applet

2004-04-01 Thread askesis
Does that mean that JBoss must be adapted or that my applet must be adapted? TIA Joost View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828512#3828512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828512

[JBoss-user] [EJB/JBoss] - NamingException in Applet

2004-03-31 Thread askesis
After upgrading from JBoss 3.2.1 with Jetty to JBoss 3.2.3 with Tomcat I get the following exception if I try to get to a statefulsession EJB on the server. javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.security.AccessControlException: access denied (