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
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
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
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
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.
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.
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
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
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.
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
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
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
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
¦ ¦
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"
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
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
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
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
--
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
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
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...
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
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
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
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
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.
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
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
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?
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
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
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
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
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
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
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
... 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&
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?
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
...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
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
$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
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
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=
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
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
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
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
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
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
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
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://
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
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
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?
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
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
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
58 matches
Mail list logo