[JBoss-user] [Management, JMX/JBoss] - Re: Creating a MBean

2006-07-03 Thread jactor
I just figured it out. I do not use the naming standard on MBeans (If the source class is named Serious, then the interface must be named SeriousMBean). A deep dive into the world of MBeans can be found here: http://www.oreilly.com/catalog/javamngext/chapter/ch02.pdf View the original post : ht

[JBoss-user] [Management, JMX/JBoss] - Re: Creating a MBean

2006-07-03 Thread jactor
In frustration of not be able to create a "general" jmx bean, I tried extending the ServiceMBeanSupport explained in http://wiki.jboss.org/wiki/Wiki.jsp?page=ServiceMBeanSupport. However; the same error occurs: org.jboss.deployment.DeploymentException: Class does not expose a management interfa

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-07-02 Thread jactor
Thanx for the info, but after a brainstorm the mbean must be "general" mbean which has made me create a "regular" mbean and discovering other problems: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3954895#3954895 View the original post : http://www.jboss.com/index.html?module=bb&o

[JBoss-user] [Management, JMX/JBoss] - Creating a MBean

2006-07-02 Thread jactor
I am trying to create a mbean, but I get a strange exception org.jboss.deployment.DeploymentException: Class does not expose a management interface: java.lang.Object; - nested throwable: (javax.management.NotCompliantMBeanException: Class does not expose a management interface: java.lang.Object

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-07-02 Thread jactor
Thanx! I was worried for a second since it was not present in the 4.0.4 all release, but I found it in the ejb3 release... I hope it works on jboss-4.0.3SP1 all... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954878#3954878 Reply to the post : http://www.

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-06-30 Thread jactor
Sure I can make sure that I have the latest release... But HOW? My jar file is dated the 23 october 2005 (23:57 hours). How do I check if this is the latest? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954747#3954747 Reply to the post : http://www.jboss.

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-06-30 Thread jactor
After a bit of jar searching, I found the classes in the jar file named jboss-annotations-ejb3.jar localed in JBOSS_SERVER\deploy\ejb3.deployer folder. However; I get a compilation error: [javac] Compiling 1 source file to C:\Data\mine\hjemme\bin | [javac] C:\Data\mine\hjemme\src\\.java

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-06-30 Thread jactor
This I know and am running jboss-4.0.3SP1, but I am wondering which archive (jar-file) I must use when I want to import the annotations... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954596#3954596 Reply to the post : http://www.jboss.com/index.html?modul

[JBoss-user] [EJB 3.0] - Creating MBeans using EJB 3.0

2006-06-29 Thread jactor
In the trailblaze demo, it is explained how to create mbeans using ejb 3.0. It also states that this is vendor spesific. But it do not state where to find these vendor spesific beans. Which jar you need to use. The demo: http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/lifecycle/index.

[JBoss-user] [EJB/JBoss] - Re: Error message is null

2006-02-06 Thread jactor
Is there a solution for this problem? It is frustrating to get 2006-02-06 13:26:10,602 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp] - 704] Servlet.service() for servlet jsp threw exception | javax.ejb.EJBException: null; CausedByException is: | null and

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Hypersonic documentation

2006-01-24 Thread jactor
I am looking for documentation of how to use the enclosed database (Hypersonic). I can't find anything under the documentation link. I am interested in how to administrate the database and a "howto" in creating different users than the enclosed 'sa' is of particular interest. View the original

[JBoss-user] [EJB/JBoss] - Re: Running and installing on a

2005-12-26 Thread jactor
Hmmm... Is there nothing that is happening with this? I am sorry that I did not take the time to learn me how to post a change with the system that is provided, but I hoped that someone would look at this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914357

[JBoss-user] [EJB/JBoss] - Re: Running and installing on a

2005-11-26 Thread jactor
I have no idea how to use this bug-report-system, so I am going to do it "the easy way" and put only the folders of each option here: jboss-4.0.3SP1.tar.bz2 (all-server) +---conf ¦ +---props ¦ +---xmdesc +---deploy ¦ +---deploy.last ¦ +---httpha-invoker.sar ¦ ¦ +---invoker.war ¦ ¦

[JBoss-user] [EJB/JBoss] - Re: Running and installing on a

2005-11-21 Thread jactor
This should be jboss in a archive, the same version as the installer will install, but this cannot be... If I unpack the archive and compare the "all" directory (the server named all), the content of this and the content of what is installed by the installer using the server-configuration "all"

[JBoss-user] [EJB/JBoss] - Running and installing on a "no GUI" environment...

2005-11-19 Thread jactor
I want to install jboss-4.0.3SP1 on a server where I cannott use the installer (a GUI component) to achieve this. So I tried to download jboss-4.0.3SP1.tar.bz2 to use this. If you choose "all" on the installer and use "all" from this archive, there is a differnce and it does not work. How can

[JBoss-user] [Installation, Configuration & Deployment] - Re: Innstalling in a no graphic environment

2005-09-27 Thread jactor
Thanx! This give you installation instructions to download and install ejb on an already running (4.0.x) server without an ejb deployer. That is exactly what I was looking for. But there is ofcourse one problem. I am not familiar with commands on linux and this does not tell how to extract the

[JBoss-user] [Installation, Configuration & Deployment] - Innstalling in a no graphic environment

2005-09-24 Thread jactor
Hi! I have developed an application which I want to deploy on a server where there is no graphical user interface and therefore can not use the installer which is provided with jboss-4.0.3RC2 so I downloaded the tar.gz file to install on the server. When I runned my application on it, the part

[JBoss-user] [EJB/JBoss] - Re: EJBQL

2005-08-31 Thread jactor
I just upgraded to the 4.0.3RC2 release and the problem disappeared No more headaches :) View the original post : http://locahost:8080/index.html?module=bb&op=viewtopic&p=3892458#3892458 Reply to the post : http://locahost:8080/index.html?module=bb&op=posting&mode=reply&p=3892458 --

[JBoss-user] [EJB/JBoss] - Re: EJBQL

2005-08-30 Thread jactor
I have reduced the return value of beans from x4 to x2... Help me to get rid of the last one that is coming twice... I now get the entity bean (User) and return its collection of beans (called guests). Query: from nu.hjemme.ejb.entity.User as u inner join fetch u.guests where u.userName = :us

[JBoss-user] [EJB/JBoss] - Re: EJBQL

2005-08-30 Thread jactor
My headache are starting to grow. I have stated the word distinct in the query, but this does not help and in order to get it to compile I had to erase the 'order by'-clause which is not desireable. The query with distinct: select distinct u.guests from nu.hjemme.ejb.entity.User as u inner joi

[JBoss-user] [EJB/JBoss] - Re: EJBQL

2005-08-29 Thread jactor
I have created a temporary solution that ignores the extra beans if it has an id that is already used. This will work well with few users, but when the load ascends, it will be a problem... I have no clue to what is wrong so please give me a hint... I am going to sing a Beatles song... HELP...

[JBoss-user] [EJB/JBoss] - Re: EJBQL

2005-08-28 Thread jactor
This will give me a major headache if I don't get it fixed. So I hope you can help me with some suggestions. Here is the original query: select u.guests from nu.hjemme.ejb.entity.User as u inner join fetch u.guests where u.userName = :userName order by u.guests.conceived desc Additonal i

[JBoss-user] [EJB/JBoss] - EJBQL

2005-08-25 Thread jactor
I have a strange problem with my EJBQL when I am retrieving beans (EJB 3.0). The query results in returning the beans * 4 if there is more than one bean persisted... The query: select b.bean from aBean as b where b.name = :name I suspect that I can solve this with knowledge of the EJBQL, but I

[JBoss-user] [EJB/JBoss] - Re: Root deploying

2005-08-24 Thread jactor
In an other thread I foud the answer. When deploying with war og ear you can configure its root-context and don't need to copy to the ROOT.war directory till TomCat... http://www.jboss.org/index.html?module=bb&op=viewtopic&t=68260 View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Beginners Corner] - Re: Deploy as root on web

2005-08-22 Thread jactor
Thanx! I found a simular solution to the problem (as the last statement)... If one is deployed with an ear file, the application.xml can have the following statement: ... /http://www.jboss.org/index.html?module=bb&op=viewtopic&p=389118

[JBoss-user] [Beginners Corner] - Deploy as root on web

2005-08-22 Thread jactor
I don't know where to display this so here it comes: I am developing an application on the jboss-4.0.3RC1, and wants the users to access it from the root url Ex: www.my.app. But if I deploy an ear/war file in the servers deploy file, then it is given the name of the war-file Ex: www.my.app/war.

[JBoss-user] [EJB/JBoss] - Error message is null

2005-08-22 Thread jactor
To avoid unecassary bug searching of the code, some error messages should be initialised better. I often get javax.ejb.EJBException: null which needs to be upgraded to a better message. This is a time consuming effort and often makes people frustrated. However the new POJO-like-beans in EJB3

[JBoss-user] [EJB/JBoss] - Re: Root deploying

2005-08-20 Thread jactor
Is there not anyone with an idea of how to solve this? If I have a deployment under the ROOT.war folder I have to include the classes that I am going to use in the war file as well which makes it deployed double up and this can give me headaches if I am going to bug-search the code... Do I have

[JBoss-user] [EJB/JBoss] - Root deploying

2005-08-12 Thread jactor
When deploying ear.files which includes ejb3 jars (ejb3 and par) you cannot deploy the web-content on root (for instance under the tomcat directory ROOT.war). How can you access EJB3 when you want to deploy your (web)application under the root-directory and not prefix the url with the war-name?

[JBoss-user] [EJB/JBoss] - Re: transient?

2005-08-09 Thread jactor
After some digging through some information, I found that there exists a special annotation for transient fields in entity beans (@Transient). So even though the interface Serializable is implemented and the keyword transient is used, fields of entity beans will be persisted if thay do not cont

[JBoss-user] [EJB/JBoss] - Re: Hanging threads...

2005-08-05 Thread jactor
Anyone with an Idea? Maybe just a link to examples or simular? I have gone through the EjbTrial.ear file, but I cannot see what I am doing wich is wrong... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888666#3888666 Reply to the post : http://www.jboss.org

[JBoss-user] [EJB/JBoss] - Re: Hanging threads...

2005-08-04 Thread jactor
Hmmm... It seems like the message got screwed up by the Html. Here is a new one: ... I have a entity bean which have a referance to another entitybean (just a local variabel: syntax - private = null; - with getters and setters: public get() - and - public set(...). The query looks like: from

[JBoss-user] [EJB/JBoss] - Hanging threads...

2005-08-04 Thread jactor
When I query EJB3 OneToOne entitybeans, the EntityManager just keeps running and take processing speed, but don't finish executin. Is there a way to solve this problem? I am a newbie when it comes to EJB's and it is quite possible that I use the entity manager in a way I shouldn't. I have a en

[JBoss-user] [EJB/JBoss] - Re: transient?

2005-07-30 Thread jactor
The EJB 3.0 entities... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887490#3887490 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887490 --- SF.Net email is spons

[JBoss-user] [EJB/JBoss] - transient?

2005-07-30 Thread jactor
How do you say that fields should not be persistent in entity beans? I have fields in my entity beans that should not be persisted and they are marked as transient, but they are still written to the db. Is there a way to mark fields as "not persistent". View the original post : http://www.jbos

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-30 Thread jactor
I am working on several things on my server and things suddenly start woking, so I must have done something that has the right sideeffect. Thanx for the tips anyway! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887422#3887422 Reply to the post : http://ww

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-26 Thread jactor
... as I already said: I get the same error anyway. At least now I know that they should not be there... Any others idea? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886601#3886601 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [JBoss Portal] - java.util.Locale-content

2005-07-26 Thread jactor
Using the PropertyResourceBundle class to show internationalized content is good, but I am looking for a way to have this class' behavour, but beeing able to modify its content in runtime... Anyone who got an idea of how to achive this? View the original post : http://www.jboss.org/index.html?

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-26 Thread jactor
Anyone who got an idea about what is causing this ClassCastException/proxy failure? This is an annoying show-stopper, and I don't have a clue abaout what could be wrong. I thought I followed the EJBTrail examples thorough and I can't backtrace the failure... I can't see that what I have done is

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-25 Thread jactor
...and you are right... ...it is a ClassCastException whith the errormessage given... When I debugged the exceptiontype this class was what has been thrown... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886351#3886351 Reply to the post : http://www.jboss

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-25 Thread jactor
Yes, I am sure this is the error... The only thing that is changing is the proxy number (look at the errormessages I pasted earlier). I get the same error if I have the interfaces in the war file and vice versa. Should I have the interfaces in the war? View the original post : http://www.jbos

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-23 Thread jactor
$Proxy131 (org.apache.jsp.team_jsp) in org.apache.jsp.team_jsp.jspInit, line 28 in org.apache.jasper.runtime.HttpJspBase.init, line 78 in org.apache.jasper.servlet.JspServletWrapper.getServlet, line 145 in org.apache.jasper.servlet.JspServletWrapper.getDependants, line 246 in org.apache.jasper.comp

[JBoss-user] [EJB/JBoss] - Proxy error

2005-07-23 Thread jactor
When I use the JNDI context to look up a bean thir error occurs: Ex: InitialContext ctx = new InitialContext(); container = (TeamContainer) ctx.lookup(TeamContainer.class.getName()); Error: $Proxy136 (org.apache.jsp.team_jsp) in org.apache.jsp.team_jsp.jspInit, line 28 in org.apache.jasper.runtim

[JBoss-user] [JBoss Portal] - Re: java.lang.NoClassDefFoundError when deploying as ear

2005-07-22 Thread jactor
I found the error myself and it was my own fault and it deploys very well... But one question still stands: Is there anyway to see what code the ApplicationDispatcher is trying to execute when it throws an error? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [JBoss Portal] - java.lang.NoClassDefFoundError when deploying as ear

2005-07-21 Thread jactor
I have transformed my deploy-code to incorporate ajb3 and does therefore deploy as ear-file where I earlier deployed as a war-file. I now receive this NoClassDefFoundError and I earlier did not receive this: 2005-07-21 20:24:50,403 ERROR [ApplicationDispatcher.java - 704] Servlet.service() for

[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-13 Thread jactor
Thanx! This is exactly the resources I am looking for. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881281#3881281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881281

[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-13 Thread jactor
I have a domain which works ok, but I rephrased the question which wasn't answered. I am sorry for using your time on things that is propobly explained in detail in documents, but as I said: I am sick and tired of reading manuals. A rephrased question for the second time: How do I access my star

[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-12 Thread jactor
I am glad that I have plenty of things to occupy myself with and does not have a due-date, because answer to questions here are rather slow... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881217#3881217 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-03 Thread jactor
eeeh... ok... how do I set the patch on a DNS server? or more to the point: how do I access JBoss from a browser after using the run-script without using the localhost argument in the browser? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880238#3880238 Rep

[JBoss-user] [Beginners Corner] - Re: Patch to URL

2005-06-03 Thread jactor
Is this a question that is too dumb to answer? With so many downloads one should expect that there is someone out there with this answer... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880200#3880200 Reply to the post : http://www.jboss.org/index.html?modu

[JBoss-user] [Beginners Corner] - Patch to URL

2005-06-02 Thread jactor
Hi! I suspect that this is a real dumb question, but I am sick and tired of reading user-manuals and searching the web so here it comes: I need to Patch my JBoss server to an URL. My URL is www.hjemme.nu, but it would be great to also have the ability to patch jboss to an IP-adress so I could

[JBoss-user] [EJB/JBoss] - Re: javax.naming.InitialContext

2004-09-20 Thread jactor
Hmmm I thought i posted some new issues here... well anyway... it was: I am still in need for a solution... Does anyone know which jar-file i could take a look in? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848784#3848784 Reply to the post : http://

[JBoss-user] [EJB/JBoss] - Re: javax.naming.InitialContext

2004-09-20 Thread jactor
I am still in need for this... Anyone who knows in which jar-file it should be? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848767#3848767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848767

[JBoss-user] [EJB/JBoss] - Re: javax.naming.InitialContext

2004-09-01 Thread jactor
Thanx! But does anyone know which file it is located in in? I can't find the correct one. I am currently using the NetBeans IDE 3.6 which comes with the 1.4 JSK. I have recently discovered how to add archives which I am dependend on, but I can't find what is already there and how I can modify t

[JBoss-user] [EJB/JBoss] - Re: javax.naming.InitialContext

2004-08-31 Thread jactor
I am using the java version "1.4.2_04" but I still can't find it. I also have downloaded Java[TM] 2 Platform, Enterprise Edition 1.4 SDK Update 1 and thought it was among this somewhere. But I can't find it... I thought I was supposed to find it in j2ee.jar... Do anyone have a clue where it is?

[JBoss-user] [Installation & Configuration] - Re: IllegalStateException

2004-08-09 Thread jactor
Thanx... My email has been seen as fake wich I can't understand... I was monitoring this thread by mail, that is why I am so late with answering as I didn't get any more messages... I took a brief look at at the jsp, and now I don't get any error, but I still can't log on. I just get forwared t

[JBoss-user] [Installation & Configuration] - Re: IllegalStateException

2004-08-06 Thread jactor
Well thanks, but this does not help me. I am new to JBoss (and also Servlets) so I will use JBoss to teach me how to make my own portal and I was also planning to release my new portal on JBoss, but this stop me in my path. I need a solution so I could continue... View the original post : http

[JBoss-user] [Installation & Configuration] - IllegalStateException

2004-08-05 Thread jactor
I tried to run the J2eeTurorial (Duke's Bank) after installing JBoss. But I got an error when I am trying to log in: java.lang.IllegalStateException: Cannot create a session after the response has been committed at org.apache.coyote.tomcat5.CoyoteRequest.doGetSession(CoyoteRequest.java:227