Keep in mind that with SQL DELETE you could remove some instances that are enlisted in
current transactions and these transactions will fail to commit.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838737#3838737
Reply to the post :
hi cuoz,
thanks for that, it worked and we have to embed that within try-catch block as
it throws RemoveExcpetion.
regards
Akhil
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838665#3838665
Reply to the post :
No, there is not. You should order them yourself.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Klaus Richarz
Sent: Monday, June 14, 2004 1:52 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Ordering CMR results - best practice ?
Hello *,
In jboss.xml
| entity
| ejb-nameMyBean/ejb-name
| configuration-nameInstance Per Transaction CMP 2.x
EntityBean/configuration-name
| /entity
|
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838739#3838739
Reply to the
3.2.4 fixed it - Thanks
There is still one problem . The Value Object code generated by xdoclet has a
rentrant method detected error when setting the parent. If i set the reentrant = true
then the server is in infinite loop
View the original post :
Do I need to use that mod_jk2? Can I there also define, which ports are used, I mean
can I change default port 8080 to for example 80?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838741#3838741
Reply to the post :
hi all,
I am developing JSP custom tags, wrapping them into a war file and deploying it into
default folder of Jboss and run the server.
Annoyingly for some reason i get [jbossweb] java.lang.StackOverflowError error which
I don't know why!? strange cause I don't get any stack trace for the
1. a general question, I see throughout the log the following line, what does it mean?
2004-06-15 10:08:32,491 21130 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker]
(main:) No persistence-manager descriptor found, null persistence will be used
2. I have an application with about 30 entity
Hi,
is there a way to tell the MBean server to store changes in an attributes value. Since
a dom4j document seems not to be serializable I am using a get/setDocumentAsText
method for persistance of the xml-document. In my application I only use
get/setDocument. the document attribute is not
I'm searching for books about JBoss internals.
I've already subscribed AdminDevel docs(PDF).
But does anyone know a suitable book for understanding JBoss internals?
(containing class-diagrams, architecture-view, ...)
Can somebody tell me what is my and for JBOSS 3.2.3 and Firebird 1.5.For example for
mysql is java:/mysqlDS and MySQL
I need true answer not maybe answers Thanks
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838746#3838746
Reply to the post :
I used Instance Per Transaction on the beans involved in the transaction. I still get
this dead lock, however a new message appears:
2004-06-15 11:17:19,195 222991 WARN [org.jboss.ejb.plugins.PerTxEntityInstanceCache]
(http-0.0.0.0-8080-Processor20:) Unable to passivate due to ctx lock, id=37
That isn't really a design pattern question, try the beginners corner.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838749#3838749
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838749
Have you read the JMS spec? Have you read about delivery modes?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838750#3838750
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838750
Commit option C is the only one that should be used with Instance Per Transaction.
There is a new persistence manager in 3.2.4 in org.jboss.ejb.plugins.cmp.jdbc2 package
which is based on Instance Per Transaction and second level cross-transaction cache,
i.e. something like commit option A and
On 3.2.4, if I browse to the web console and open up the System node in the tree view
and then open up the JMX MBeans node, I see everything as expected.
Occasionally after about 5 seconds or so, the whole tree view closes down so all I can
see is the top level nodes (Monitors, J2EE Domains,
What you can do is create a NotificationEvent from setDocument and make ur MBean
Capture that event. Your Mbean Event capture code can then update the documentAsText
Field which will be the new value!!
View the original post :
A Primary Difference between RMI and Mbeans is that all invocations for MBeans go
through an agent., So the client and the final MBean have no interaction. You can
change either ends(Client and the MBean at will). RMI is strictly bound by a contract
. Also you have the overhead of creating ur
Use RMIAdaptor and get the MBeanServerImplementation. after that you can call any
method on any object name. Search for RMIAdaptor in this forum. You should find a lot
of references
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838756#3838756
Reply to the
Hello All,
I tried to deploy an ear file containing a war inside it. When I deploy it into jboss,
I get no errors but Jboss stops and doesn't give me the:
[Server] JBoss (MX MicroKernel) [3.2.4 (build: CVSTag.etc
when I tried to work with the application, it worked fine so I ignored the
Just a side note: to find out why foreign key constraint fails under MySQL with INNODB
tables, use
SHOW INNODB STATUS
You will have to be a superuser on the mysql server to execute the command.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838758#3838758
I have Jboss 3.2.4-tomcat 5.0.26 I am trying to secure my web app with CLIENT-CERT.
The problem is that JbossSecurityMgrRealm is the default security manager realm in the
embeded tomcat and it cannot be overriden.
It creates the principal of type sun.security.X509.X500Name type. This type is
This issue with JSP compilation... does anyone know what that is? We got
JBoss/Tomcat 3.2.3 to work with JDK 1.5 by removing the management package from
rt.jar. Then we noticed the problem with running the web console. At that point we
switched to JBoss/Jetty 3.2.3 and then everything
David,
I would suggest that you use an Entity Bean that contains the contents of the view.
The Entity Bean should have an artificial key, as shown below, so that one and only
one instance ever exists.
/**
* This static string will be used to define the key for the Singleton Role Set.
Nano,
I have just had to deal with a very similar problem in another application server.
I would suspect that your home reference, which you get as you initialise the servlet,
contains internal information which becomes out of date when your colleague does a hot
deploy.
This will then lead to
Hi there,
maybe someone can give me an opinion on this:
I'm using WebServices to transfer data in form of a Data Transfer Object between a
.NET client and JBoss.
How can I make sure that the data doesn't get stale, when multiple clients access the
same data at the same time?
I've read some
Hi,
I have a servlet that in its init() method requires access to MQ (it logs audit
information). The servlet loads on startup, and is unable to obtain a reference to the
ConnectionFactory in JBossMQ because the MQ service has not yet started. Is there some
way I can make the servlet/war/EAR
hai ..
i created a registrationform(which contains personal and specific data) where user
can enter data and that data should store in mysql database which contains 2 tables.
one table contains personal_data other is specific_data. i have tried with one table
and one CMP it works .but with
Hi,
I'm making my first steps in JMX and got an IntrospectionException for a method which
returns an int array.
The method signature is:
| /**
|* @return Array of the message ids.
|*
|* @jmx.managed-operation impact = INFO description=Returns an array
|* which
I want to know if I can work with auto-increment with CMP beans.
I have a table with 2 fields:
id (identity)
dbPass
dbUrl
dbUser
dbDriver
dbName
and when I use a create() method
ECollections collHome = collectionHome.create(dbPass,dbUrl,dbUser,dbDriver,dbName);
, the console display this
Is this an absurd request? We'd just like to know if it is possible to put
information in some descriptor that would provide resources or environment entries
globally, rather than on a per bean basis.
View the original post :
I have turned on the instance per transaction on userLocal, I have also turned on the
trace:
Here is a partial log.
2004-06-15 15:04:58,566 204304 INFO [STDOUT] (http-0.0.0.0-8080-Processor25:)
15/06/2004 15:04:58 com.matrix.framework.ip.controller.UserController
getSingleNotByPrimaryKey
|
Here is the class header definition for xDoclet I'm using:
/**
| * @ejb.bean name=User
| * view-type = local
| * jndi-name=User
| * type=CMP
| * primkey-field=id
| * schema=User
| * cmp-version=2.x
| *
| * @ejb.transaction type = Required
| *
| *
It appears that the UnifiedLoaderRepository3 being passed in to beginLoadTask is null,
and that the class that it is trying to load is java.text.ParseException in one
situation, and java.awt.color.ColorSpace in another.
View the original post :
2, 3, 5 are known issues. 1 and 4 I have I don't see when running on an xp box with
sun jdk 1.4.2_04-b05.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838776#3838776
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838776
CAn I do that without Apache used as a front end? I mean can I change port without
mod_jk2? Do I need yto do changes to jboss-service.xml or what?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838778#3838778
Reply to the post :
This happens when a class loader from the previous deployment is used. Its loader
repository has been cleared and any attempt to use that class loader results in an
NPE. If you have a testcase open a bug report on sourceforge so I can see if its a
jboss issue.
View the original post :
There is no descriptor for this. Create your own mbean service that configures
bindings in jndi.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838780#3838780
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838780
Yes you can change the port to be something different to 8080.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838781#3838781
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838781
i did this (well, as close to it as i could come w/o creating a new repository) for
the day job. it's worked out very well. everything is very organized and easy to find.
i even took some ideas from the build process as well. there are a ton of goodies in
buildmagic!
View the original post :
http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions
(this would (should) have come up in a search of the forums).
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838784#3838784
Reply to the post :
I had the same issue when I converted my code from the old data-object to
value-objects. The only way I found around this was to make 2 value objects for each
bean. One that is a complete object and contains the relationships to other beans.
Another that is a relation object that has only
The only issue with that (at least on Unix systems) is that port 80 is a priviledged
port and you would have to run JBoss at root. On linux (or other systems that have
built-in IP filtering) you can port forward from port 80 to port 8080 and not have to
run JBoss as root.
gary.
View the
Try using the [I form for int[].
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838786#3838786
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838786
---
This SF.Net
Where and how I define that?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838787#3838787
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838787
---
This SF.Net email is
couldn't you specify the ejb dependency in the jboss-web.xml contained in the war
using the depends tag?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838788#3838788
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838788
Configure the jms security domain to use the
org.jboss.resource.security.CallerIdentityLoginModule to use the ejb credentials.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838789#3838789
Reply to the post :
Hi James,
Thats exactly what I did, and I can see my service bound to JNDI in the JMX console,
my client can fetch the service from JNDI, but then...
The lookup is successful, no exception is thrown, but how can you invoke now methods
on your mbean?? Because in my code, userManager is null.
Hi,
Is jboss.org down? I can get to jboss.com but no luck accessing
jboss.org from NYC.
Nslookup resolves jboss.org as 216.83.160.154 is this right?
Regards,
Sebastian
___
This message is for the named recipient's use only. It may contain
Its up, but your dns resolution is invalid. Both jboss.com
and jboss.org currently point to 216.83.187.151
Scott Stark
Chief Technology Officer
JBoss Inc.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
k, using [I as return type works. Thanks for the hint. XDoclet does it right when
declaring the method as a managed attribute.
But now I get [EMAIL PROTECTED] as result. Declaring the method as an
managed-attribute outputs each int value in the array. Could this behavior be changed?
Thanks,
This is not much clearer. There is really no such thing as 'logged into the app
server'. A thread either has a security context or it does not. There are many
threads, not all of which are tied to user initiated activity. When a thread attempts
to access a datasource its security context is
Talk to the xdoclet team, I don't use it.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838793#3838793
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838793
---
This
I am running JBoss 3.2.2 in production. Our system processes hundreds of thousands
transactions a day. We are using clustering with cache invalidation with 3 instances
across 3 machines. In general, everything works great. However, every other week or
so, I will see the system hang, with errors
Hi,
I have an 1-N relationship between 2 CMP EJBs, Matches and Leagues, which is set
correctly (XDoclet generated). A league can have several matches, and a match can only
have one league.
I'm trying to retrieve the league name, which is a league EJB field, while I'm listing
every matches.
Turn on TRACE level logging on the org.jboss.security category in log4j.xml:
|category name=org.jboss.security
| priority value=TRACE class=org.jboss.logging.XLevel/
|/category
|
View the original post :
The j_security_check target is not usable as a target url. Its only to be used by the
web container when someone accesses secure content that is protected using FORM
authentication.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838798#3838798
Reply to the
request.getUserPrincipal().getName() returns the name of the authenticated user.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838799#3838799
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838799
Thank you for the hints. Flushing the JAASSecurityManger's cache does it.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838800#3838800
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838800
Hi Tom,
Thanks, my client is running 3.2.1, but I'll have a look at 3.2.3.
Seems un-intuitive not to have this info.
Groetjes,
Sanne
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838801#3838801
Reply to the post :
This is on the server side? It makes little sense in general to have a server side
callback handler attempt to interact with a user input which is why the default
CallbackHandler does not deal with TextInputCallbacks. You can change the
CallbackHandler used by jboss by setting the
No, the JaasSecurityManager does not accept a null cache. You either need a noop cache
impl or subclass JaasSecurityManager to deal with this. What is the JaasSecurityDomain
that is producing a null cache?
View the original post :
3.2.4+ supports this.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838805#3838805
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838805
---
This SF.Net email is
The connection type is determined by the https url provider. Under jdk1.4.2 I would
expect this to be the newer javax.sql.* classes. The older classes are used when
running with jdk1.3 and the jsse.jar extension classes. See if you can track down why
the HttpURLConnection is returning a legacy
The client or os is closing the connection.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838807#3838807
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838807
---
This
Scott,
You are correct the login module being used for the remote datasource is on the
server and therefore has no connection with the client. I will have to make my API
aware of the need for capturing a username and password from the user when a
datasource with that type of authorization
We don't currently support DIGEST auth because it requires that the security database
has access to a clear text password. This is not generally possible.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838809#3838809
Reply to the post :
Hi,
I'm thinking in getting the League FK, and then to do a Leagues.findByPrimaryKey()
with it. Am I wrong ?
How can I have the League Foreign Key in Matches, because the field is a relation
field and it don't appears in my interface !!!
View the original post :
Its no different than any other java application. You need to specify
-Djava.security.policy and -Djava.security.manager. This can be done in the run
scripts or via the JAVA_OPTS environment variable which the run scripts use.
View the original post :
Please see bug:
http://sourceforge.net/tracker/index.php?func=detailaid=973234group_id=22866atid=376685
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838814#3838814
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838814
I am not sure about your question. Have a look to the server.xml document in the
tomcat.sar folder of the deploy dir of your JBoss server.
Regards.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838815#3838815
Reply to the post :
We are using Jboss-3.2.3 and the file-pm-service.xml for JMS. During the course of
execution, for whatever reason a Zero-length messages is in one of the Queue
directories. This is not a problem until we restart JBoss. Upon restarting JBoss the
pm fails to load properly due to an error in
Which persistence manager are you using ? If I had to guess sounds like Hypersonic.
The problem you are having may be related to hypersonic going bye bye when the DB
reaches a certain size. We used to have a problem similar to this. Once the
Hypersonic DB reached around 1GB or so the PM
Was this ever resolved? Because the EJB spec (I quote from 2.1) is painfully clear on
this point:
The Bean Provider can thus use the set method to move objects between the collections
referenced by cmr-fields of the same relationship type in different instances. The set
accessor method, when
Hi,
It's Ok now.
I have just forgotten a tag with Xdoclet, and the relationship method was not
generated in the interfaces.
Bye
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838820#3838820
Reply to the post :
Hi there,
I was trying to use the JBoss 3.2.3 with Nukes and Oracle 8.1.7, but could not get it
running.
Using the preinstalled Jboss/Nukes version works fine, but the subsequent installation
of Nukes on a already installed JBoss server and the setting up for an oracle-db fails.
The forums here
I have bumped into the same problem, beginner as I am.
However, I decided to follow the listBindings path. What surprised me was that the
bean was not found under any ejb context. There was no ejb, at all.
Instead the bean was found directly under its name.
Thus:
Object ref =
The File PM is not being actively maintained. You can still help contribute fixes to
the JBoss team, however. Please take a look at the source code.
What is your operating system and Java version?
View the original post :
I have a problem in a session facade bean (JBoss 3.2.4).
It reports java.lang.IllegalStateException: A CMR field cannot be set or added to a
relationship in ejbCreate; this should be done in the ejbPostCreate method instead
[EJB 2.0 Spec. 10.5.2]. while the object has already been created.
My understanding is that if you have a previous release of Nukes running, you need to
recreate the DB as the tables are now created via CMP. You only runn the setup.ddl
for the Nukes core. Then, as you deploy each module, they create their own tables.
I think there was a post somewhere on it
Check the startup logs. The reason XAConnectionFactory it is not bound is because the
JMS system did not startup.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838827#3838827
Reply to the post :
Hi Gary,
thanks for the quick response. I will check this as soon as possible (I got to go now
watching the em-football match Netherland:Germany ;))
regards
Alex
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838828#3838828
Reply to the post :
Hello,
I'm planning to setup a jms-bridge connection between two queues. Queue A is held by a
Weblogic 8.1 server, and queue B is on a jboss 3.2.3 server. Both queues are working
fine.
The problem comes when I try to connect the weblogic server with jboss, because I
don't find any information
correct - all tables except the ones needed for the core are created via cmp. the
forums tables have not changed, so you will be safe there as well.
if you want to use oracle support, you need to recompile the code yourself. you will
have to modify the local.properties file in the build
Thanks for your response, but may be I need to rephrase my question.
Lets say I have a resource of class MyResource.
If I want to pool this resource, does Jboss have an Object pool framework (like the
connection pool), that I can use to pool objects of MyResource? Or do I need to
create an
I am using Jboss 3.2.1 with Tomcat. I'm having an intermittent problem emailing.
Here's the error I get:
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: Could not connect to SMTP host:
smtp-server.tampabay.rr.com, port: 25;
Yep, I had already read that page and decided it did not apply in this situation. Let
me explain my understanding of the problem.
The class that the code snippet is copied from is called TeacherApplicationBD
(business deligate) and it is packaged in the exact same jar that the ejb is packaged
I have an Oracle 9i server running here for a customer related project we are doing
and maybe can do some testing. I'll grab a tagged version tomorrow from CVS.
gary.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838834#3838834
Reply to the post :
Try again with config:
java:/ars_mail
nobody
password
!-- Test --
!-- Change to your mail server prototocol --
!-- Change to the user who will receive mail --
!-- Change to the mail server --
Try again with (3rd time)config:
mbean code=org.jboss.mail.MailService
| name=jboss:service=Mail
| attribute name=JNDINamejava:/ars_mail/attribute
| attribute name=Usernobody/attribute
| attribute name=Passwordpassword/attribute
| attribute name=Configuration
The connection pool is implemented as a JCA resource adapter, if you implement your
class so that it is part of a resource adapter it will be poolable.
Have you read anything on JCA yet?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838837#3838837
Reply to
is the web app packaged inside the ear?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838838#3838838
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838838
---
This
Thank you very much James for your reply. By the way, could you please send me the
sample code you mentioned above. My email address is : [EMAIL PROTECTED]
However, questions for your approach are:
1. To make sure only 1 instance of entity bean exists, does that mean, we should
configure cache
Hi,
Please forgive me, but I may be confused. If we don't access j_security_check
directly, how do we pass the username/password to the server in form-based
authentication? According to Sun:
-
The content of the login form in an HTML page, JSP page, or servlet for a
login page
Thank you very much Raja for your reply. One more question, what version of JBoss did
those adaptors come with? Currently we are using JBoss2.4.8, does JBoss2.4.8 have
those adaptors? if not what's the replacements?
Thanks a lot
David
View the original post :
Guys,
How can i cryptography password in data-source.xml file ?
JBoss has something to do this ?
[]'s :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838842#3838842
Reply to the post :
fabinhu wrote : Guys,
|
| How can i cryptography password in data-source.xml file ?
| JBoss have something to do this ?
|
| []'s :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838843#3838843
Reply to the post :
How to setup FORM based Authentication for Tomcat integerated Jboss3.2.1?
I have the stanalone Jboss ingetrated with Tomcat installed.
Installed version is jboss-3.2.1_tomcat-4.1.24.
I am not able to find the tomcat-users.xml file in the directory stacture. So please
some one tell me How I
jamesstrachan wrote :
| I was going to attach a sample of code that uses this technique, this facility
seems to have been removed !
|
just cut and paste it into a code block ([ code ] [ / code ] minus the spaces). others
may want this in the future, or better yet, create a wiki entry for
that'd be cool - thx!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838846#3838846
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838846
---
This SF.Net email is
1 - 100 of 156 matches
Mail list logo