hi,
I would like to keep my user session valid for the day, so that I do not get a
session time out. But in standardjboss.xml, I have defined a max-bean-life, the
time for which the session bean is valid. In this context, can anyone please
let me know how can I set the max-bean-life. Can i set
Perfect, thanks !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932750#3932750
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932750
---
This SF.Net email is sponso
Hello All,
I want to include JBPM in my Jboss portal. First, I want to import in the
portal the webapplication in order to see how it's work in my portal, but if I
copy the folders jbpm.war and Jbpm.sar, I don't understand how can I see them.
I think that I must to transform the webapp in portl
Did you inject the FacesContext into your SFSB and not mark the field transient?
(Easy to do, I do it all the friggin time...)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932747#3932747
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
hello everyone!
now i'm back with maybe another silly question:
it's a serialisation/passivation problem. when running my application after a
while i get an exception in the time thread that wants to passivate my beans.
i've made them all implement serializable. the problem remains for the for t
Can you try out the suggestions in
http://wiki.jboss.org/wiki/Wiki.jsp?page=FDVersusFD_SOCK, especially the ones
in the last paragraph ?
Let me know whether this works for you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932745#3932745
Reply to the post :
Hello,
I fix my problem. I included the class InvalidDataException in the *.war and in
the *.jar so there were 2 definitions of InvalidDataException. Thats why my
exception was not catched.
Bye
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932743#3932743
(pardon for my English, I'm Spanish)
Yes, I use Eclipse Ide to develop my portlets.
These are my steps:
1 - I create a new project. (I will base on the portlet HellowPortlet example
http://labs.jboss.com/portal/index.html?ctrl:id=page.default.downloads&project=portletswap&category=.portlets.sam
my enviroment:
JBOSS Poral 2.2.1RC3
Oralce9i
jboss-forums-2.2.1RC3
I can create forum category and forum,but when I post a new thread,a error
occur as folloowed ,cloud someone encouter the same prolbem:
2006-03-27 15:01:51,833 DEBUG [org.hibernate.util.JDBCExceptionReporter] could
not initialize
See this topic: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78941
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932739#3932739
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932739
--
Thanks for the quick answer!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932738#3932738
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932738
---
This SF.Net emai
Hi!
JBoss performs this way if you have set the value of hibernate.hbm2ddl.auto
property to create-drop in the persistence.xml file.
To persist data regardless of undeployment set this value to update.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932737#3932
Hello!
it's the first (old) one with .
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932736#3932736
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932736
---
Th
Hi Friends, I have developed an application and now need to authenticate using
LDAP, my application does not use ejb it is a struts project. I will be
accepting an user name and password, i need to authendicate the same. Below are
the code that i have added to the anonymous wrote : web.xml
|
We have used it, but it just isn`t neccessary usually. Because monitoring is
enough.
Btw. our debug page does not work anymore. Client-id is duplicated in faces
tree. Upgraded facelets & myfaces but no use. Do you have any suggestions Gavin?
View the original post :
http://www.jboss.com/index.h
hello all
i am getting tis error when i connect to remote Jboss 4.0.4RC1
from my stand alone tomcat
java.lang.ClassCastException: org.jnp.interfaces.NamingContext
i am using Jboss 4.0.4RC1 with EJB3
Java 1.5 update 6
Netbeans 5.5 preview
tomcat 5.5.9
i listed all the bind variable in port 1099 a
hello all
i am getting tis error when i connect to remote Jboss 4.0.4RC1
from my stand alone tomcat
java.lang.ClassCastException: org.jnp.interfaces.NamingContext
i am using Jboss 4.0.4RC1 with EJB3
Java 1.5 update 6
Netbeans 5.5 preview
tomcat 5.5.9
i listed all the bind variable in port 1099 a
You should reinstall JBoss using the installer, and selecting the ejb3 profile.
I've no idea if "copying jars" works (probably not).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932731#3932731
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
hello
i upgraded my Jboss with jboss-4.0.4RC1
and then this was fixed
it deployed my EJBModule jar with out any problem
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932730#3932730
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=p
hello
i checked my JMX-Console and found this
MBean Name: Domain Name: jboss.j2ee
service: EJB3
name: UserLoginBean
jar: EJBModule.jar
MBean Java Class: org.jboss.ejb3.ServiceDelegateWrapper
is this ok ???
i am new to Jboss and EJB3
please help
View the original post :
http://w
I'm using JBoss 4.0.4RC1
I've copied the EJB3 jars into the server\default\lib directory.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932728#3932728
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932728
---
anonymous wrote : System.setProperty("java.naming.provider.url","localhost");
Change this to :
System.setProperty("java.naming.provider.url","jnp://localhost:1099");
anonymous wrote : ctx.lookup("MyOracleDS");
Change this to:
ctx.lookup("java:/MyOracleDS");
View the original post :
http:
Modules have to be an EJB, WAR or application jar. Listing any old jar as a
module only works in JBoss. WLS, for exampe, won't load a plain jar file.
Historically I have used Class-Path settings but was hoping there was now a
more convenient yet portable solution. I guess I will use the applic
my application is with two languages english and german.i have to deploy it to
in a linux server.i am using jboss4.0.3.but in JSP pages the german letter is
showing as junk charcter.
i tried it to solve using
it solve my problem partially.
But when reading the datas from inputfieds the da
This error disappeared by adding properties to persistence.xml.
I wish to express my gratitude for your reply.
Thank you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932724#3932724
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&
thanks for the link.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932723#3932723
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932723
---
This SF.Net email is spo
EJB 3.0 TrailBlazer: ---Configure Persistence Context
"In addition, JBoss AS should create database tables for those entity beans
when the application is deployed, and delete those tables when the application
is un-deployed. Note that the application is deployed and un-deployed
automatically
Hi,
I am using eclipse and Jboss. and developing an application from this tutorial
http://www.devx.com/Java/Article/21065/0/page/7. When i submit a form i get
this error. HTTP Status 404 - /stock/stockselect.do
here is what my struts-config.xml looks like:
Is thre any thing else my struts
Hi JUNKIE
I have done the configurations you have told and now the logging is
successful... But the thing is now I'm getting the same HTTP error
HTTP Status 403 - Access to the requested resource has been denied
|
|
--
It's a EntityBean lifecycle problem??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932718#3932718
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932718
---
This SF
If it helps, this page...
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB
...seems to be exactly what I want, with its mention of MaxmimumSize and
MaxTimesRedelivered, but how do I configure this in my EJB3 environment?
View the original post :
http://www.jboss.com/index.html?module=bb
Hi,
Has anyone awared that org/jbpm/security/Authentication class file seems to
be missing from the jbpm-3.1.jar downloadable file? Does anyone know where to
download the complete jar besides from the starter-kit zipped file. Thanks in
advance.
rgds,
KiamFei
View the original post :
http:
Dear All,
I am finding when I set up a Queue much like the example at...
http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdb/
...JBoss instantiates several (I'm guessing around 5) consumers that all
hungrily grab whatever appears on the Queue in a concurrent fashion. Also, if
any of
Thanks Scott for the quick and clear response.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932714#3932714
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932714
--
One solution I use is to have a common jar that contains the common classes you
want to share and add it as a java module to your application.xml.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932713#3932713
Reply to the post :
http://www.jboss.com/index.ht
I'm creating an example application that creates a reservation for a car
rental. I created a reservation table that had two references to a location
table. One for pickup and one for drop off. When I generate the code I get alot
of compile problems with this. The one that just have one seem to w
Huang,
While the download is certainly free, the licensing is not. Look for the
following statement in the license agreement:
anonymous wrote : LICENSE RIGHTS
| We grant you a nonexclusive, nontransferable limited license to use the
programs only for the purpose of developing a single prototyp
My entity beans have enum columns and EJB 3.0 handles the translation without
any intervention on my part -- not even an annotation! Here's my problem: where
can common classes like enums be placed in my EAR such that the entity bean jar
can see them? I do not want to put them IN the jar contain
First post in this forum
@joshua_hj: isn't Oracle BPEL Process Manager free to use, or i got it wrong?
At the moment you can just the v10.1.2 download for free. Or what you mean is
that when you want to have some advanced features, you have to pay?
pls correct me if i am wrong:-)
View the or
Hello All,
I think that the following two issues are bugs in Hibernate Tools or Seam that
need to be added to a bug list, but I need someone with more Seam and Hibernate
Tools knowledge to verify this or tell me that I am wrong:
(1) If you use annotated EJB3 entities to generate a Seam CRUD appl
It was documented in the Javadoc:
http://docs.jboss.com/seam/api/org/jboss/seam/annotations/datamodel/DataModelSelection.html#value()
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932706#3932706
Reply to the post :
http://www.jboss.com/index.html?module=bb&
Ah ha! Since it was (previously) undocumented, I assumed it was named after its
own attribute variable, like the doc says for @DataModel. I even tried naming
it after the "var" in the JSF dataTable.
Thanks for the promt attention.
View the original post :
http://www.jboss.com/index.html?module
Hi,
Not sure if this post should go in this forum or not but since my application
is using JBoss Portal I'll post here.
Versions:
JBoss AS4.0.3SP1
JBoss Portal 2.2.1-RC2
Firefox 1.5
IE 6.0
Symptoms:
I have a JSP and a servlet that displays binary data (images) retrieved from a
database. The JS
The value() of the @DataModelSelection must be the name of the DataModel
context variable. Which in this case is "messages". If you want to change that,
you need to have:
* @DataModel("foo")
* @DataModelSelection("foo")
* @Factory("foo")
View the original post :
http://www.jboss.com/index.ht
Difficult to say. But I have one almost identical test case under:
tests/functional/org/jboss/cache/aop/ReplicatedObjectGraphAopTest.testCicurlarReference1
Can you try it out?
Or if you can turn your test case in a junit test to run under JBossCache and
still be able to repruce it, I then take
Hello All,
I have been unsuccessful in trying to generate a CRUD application from
annotated EJB3 entities using the JBoss Eclipse IDE.
However I have been successful in generating the application using ant which
allows the user to specify an annotationconfiguration to point to the
hibernate.cfg.
The only change from the original is line 37 for line 36:
//$Id: MessageListBean.java,v 1.2 2006/01/14 20:13:46 gavin Exp $
| package org.jboss.seam.example.messages;
|
| import static org.jboss.seam.ScopeType.SESSION;
| import static javax.persistence.PersistenceContextType.EXTENDED;
|
i am in the beginning stages of architecting a new N-Tier application. i am
using JBoss and MySQL 5. it is a government application so auditing and
security are a nightmare.
The way i have designed all my systems in the past has been the database has a
user table and i build in my own user se
Are people actually using Seam's integration testing stuff? I've seen very few
questions about this, which allows various possible explanations:
(1) Everyone is using it and it Just Works
(2) No-one understands it or no-one knows it exists
(3) No-one does integration testing
(4) There is some fun
OK, so no message is being injected into the DataModelSelection. (There is no
NPE in Seam, the NPE is in the application.)
Please show me the code of the MessageList class.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932697#3932697
Reply to the post :
ht
P.S. I have now refreshed the documentation of the datamodel stuff. Thanks for
pointing out it was missing.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932696#3932696
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39
13:16:10,705 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces
Servlet threw exception
javax.faces.FacesException: Error calling action method of component with id
_id0:_id2_0:_id8
at
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
Can you show me the stack trace of the NPE?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932694#3932694
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932694
---
T
I am getting this exception when executing a Statement from a Stateless Session
Bean.
EJBException:; nested exception is: javax.ejb.EJBException: Unable to get
price: java.sql.SQLException: Table not found in statement [SELECT price FROM
price WHERE product_code = ?]
This is where it fails (in
Check JNDI space via the JMX-Console but you probably want something like
UserLoginBean/remote...usually a NamingContext cast exception is a wrong lookup.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932692#3932692
Reply to the post :
http://www.jboss.com/
Hello, I want to use javamail over tls/ssl in jboss. Can anyone please explain
me how to do this. Is it possible by changing the file mail-service.xml.
Unfortunately, I always get the message "DEBUG POP3: connecting to host
"pop.gmail.com", port 995, isSSL false" when starting jboss.
View the
hello all
i am getting tis error when i connect to remote Jboss 4.0.4RC1
from my stand alone tomcat
java.lang.ClassCastException: org.jnp.interfaces.NamingContext
i am using Jboss 4.0.4RC1 with EJB3
Java 1.5 update 6
Netbeans 5.5 preview
i list all the bind variable in port 1099 and found that m
hello all
i am getting tis error when i connect to remote Jboss 4.0.4RC1
from my stand alone tomcat
java.lang.ClassCastException: org.jnp.interfaces.NamingContext
i am using Jboss 4.0.4RC1 with EJB3
Java 1.5 update 6
Netbeans 5.5 preview
i list all the bind variable in port 1099 and found that m
Thanks a lot !
It works very well ;)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932687#3932687
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932687
---
This SF.
I've encountered a problem in my application that I was eventually able to
reproduce with a simple change to the messages example. If you add a value
attribute to the @DataModelSelection annotation, e.g.
@DataModelSelection("message")
Seam will fail to inject the selected object (message) when
hello all
when i deploy my ejbmodule.jar in jboss-4.0.3SP1 with EJB3 i get the following
error
org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the
right xml schema or define a valid DOCTYPE!
first i will tell you my env.
i am using jboss-4.0.3SP1 with EJB3
J2SDK1.5 update
Actually I got it working with the normal URI/prefix combo...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932684#3932684
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932684
---
THank you for answering but I got more questions.
Where exactly did you put this Factory method?
And if I mark User Entity bean Scope-Session and Name-portalUser then it
automatically loads it to session scope and does not give a change to factory,
because it alrdy is there? or not?
View the ori
Yes, sorry for adding to the confusion. I meant the specification would have
shown you the @Stateless(name="foo") annotation as the way to override the
container's default, not necessarily what the default is.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
In the past I would corral all of my queries as string constants in a query
manager class -- an old Indian trick my grandfather taught me. Having a single
location for database queries had a material impact in terms of improving
maintainability.
I believe the objective of @NamedQuery is to pre
"[EMAIL PROTECTED]" wrote : lifecycle in JMX is a jboss specific addition.
I'm not following...(you mean JBoss Services and their design pattern?)
"bill" wrote : Since you already want to use jboss specific extensions, why
not @Service?
|
| Add a start/stop method to your @Service's @Mana
Hi,
I just recently started learning Jboss aswell, I can tell you the steps I took.
First learn Java 2 - get yourself a good introductory text on Java 2.
Secondly get an introductory text on J2EE I used sams J2EE in 21 days, but
there are others have a look and see what style you like.
When yo
hello alesj and j2ee_junkie
according to the great help provided by both of you,
i did manage almost 90% of my problems
i connected from stand alone tomcat to Jboss on port 1099 and i listed all the
objects bind by jboss
then i downloaded netbeans 5.5 J2EE preview and created a sample ejb module
UPDATE:
Well I have pointed the source to "jboss-client.jar", and now seems to run fine
in java perspective in Eclipse.
However in debug mode when i step through I still get the message of Source not
found attach source. Any ideas why this is?..for now im ignoring this but i
dont want it to be
Hi all,
I have a 2 nodes cluster. It works fine. But when the cpu in one of the members
raises to 100% problems occur and the membership breaks (which i guess is ok).
But when the cpu goes back down to normal (10%), the cluster mebership is not
recovered correctly. Instead it goes into an endl
Thanks for clarifying I was under the impression the recent JNDI name pattern
was a standard default. The EAR file name prefix does have a bit of an odor to
it but that will evaporate when the web tier gets @EJB injection. Having a
default name is a good thing. I can parameterize the pattern in
I try to response at the problem:
"BUILD FAILED
C:\Transfer\j2eetutorial14\examples\bank\jboss-build.xml:49:
C:\Transfer\j2eetutorial14\examples\bank${jboss.home}\client not found." in the
beggining of this topic.
I don't now what is de origing of the problem, maybe we need to configure
somethin
I try to response at the problem:
"BUILD FAILED
C:\Transfer\j2eetutorial14\examples\bank\jboss-build.xml:49:
C:\Transfer\j2eetutorial14\examples\bank${jboss.home}\client not found." in the
beggining of this topic.
I don't now what is de origing of the problem, maybe we need to configure
somethin
lifecycle in JMX is a jboss specific addition. Since you already want to use
jboss specific extensions, why not @Service?
Add a start/stop method to your @Service's @Management interface and you are
ready to go.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
Hi,
I have a problem with Eclipse and Jboss, everytime I run my SessionBean example
it brings up the page for Source Not Found,
"Source attachment does not contain source for the file ClientContainer.class "
when debugging, I carry on resuming it and it prints the correct result. So im
not s
unfortunately, the 4.0.4rc1 dist doesn't set up jboss's client libs correctly
so:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
actually the EJB3 specification does not specify how JNDI names are supposed to
be calculated. This is vendor specific. One way to change the JNDI name is to
use @Stateless.name() attribute, but the /remote /local is still appended. If
you want to totally change the jndi name, then use the
@
schema parsing is a very low percentage compared to other stuff HEM has to do
in startup. I've done the profiling...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932668#3932668
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
|
| ...
|
|
|
pretty sure we have implemented that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932667#3932667
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932667
-
...but code doesn't require the schema anymore. It won't validate if you don't
provide the schema to validate with.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932666#3932666
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=r
woops.
I've just found one doc in jboss-src/naming/src/doc/index.html.
So, I can say this is the JNP spec JBoss using. That is what I want.
If you teach me some more, that's nice.
thank you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932665#3932665
Reply
There is a Puzzled question.
I written a class User like this:
@Entity
@Table(name = "user")
public class User {
private String name;
private int id;
private String message;
public User() { }
public User(String name, String message) {
this.na
Where can I get JNP spec or some basic instructions?
http://mail-archive.objectweb.org/jonas-team/2002-01/msg00063.html
This page says about JNP ... Is this the same thing JBoss uses?
hmm... but http://www.dreambean.com/ doesn't exist now.
View the original post :
http://www.jboss.com/index.html
SRY
..
dimo
deineaugen
..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932662#3932662
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932662
---
This SF.Net email
First you should copy ojdbc14.jar to the server//lib
directory
and what's that???
anonymous wrote : ..
| dimo
| deineaugen
| ..
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932661#3932661
Reply to the post :
http://www.jboss.com/index.html?mo
Hi. I'm beginner in JBoss. And I've have a trouble with set up of datasource.
That is what I do:
1. Copy my oracle driver classes12.jar to default/lib
2. Create my own -ds.xml file in default/deploy
2.1. My -ds.xml file name is oracle-ds.xml and its content is next
OracleDS
jdbc:oracle:
"andytsoy" wrote : I have fixed the problem.
| In JBoss Portal 2.2 . It has implement the commons-fileupload.jar.
| The only thing is to call u .
| In the jsp, Use ActionURL
| In the portlet core, it will call processAction method.
| You can take a reference of the code in JBoss portal
Hello Scott,
I tested it and you are right. You can share the same proxy for multiple
threads but each thread will get a separate instance from the pool of stateless
beans. That means one session bean instance will never be shared for multiple
threads on the same time, whether if you use the sa
What version of JBoss is this? is EJB3 installed in JBoss?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932657#3932657
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932657
--
89 matches
Mail list logo