Hi all and Hi Bill,
since yesterday I try to solve the problem in a standalone application. First I
do not use JBoss-4.0.4RC1 AS to run my application. I use
JBoss-EJB-3.0_Embeddable_ALPHA_5 and thus my error in the console of eclipse
look like this:
DEBUG 22-03 08:45:57,203
mennen wrote : Hi,
|
|
| Any clues as to how to get out of this fork?
|
|
|
give the state an additional 'exception transition' and do not show that in the
ui. That way you can signal the token in that stat to take the exception route
which e.g. goes to the join.
Ronald
View
Did you directly take a look at the tables (MySql Query Browser)?
If there are things missing, perhaps hibernate itself could fix the ddl by
adding: update to the hibernate.cfg.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931780#3931780
Reply to the
Sir,
I have made following configuration in JBOSS.xml
container-configuration
instance-poolorg.jboss.ejb.plugins.StatelessSessionInstancePool/instance-pool
instance-cache/instance-cache
persistence-manager/persistence-manager
container-pool-conf
100
5
Thank you Hannes,
but i don't know what to update in the hibernate.cfg.xml..
Yes, i directly took a look at the table jbpm_processinstance where the
process instance #318 is existing. The table jbpmtest.jbpm_dynprocess_node
doesn't exist, that's true - but what is it for? There is no info at
I want to know if there is any setting in *-ds.xml so that the SQL statements
issued in the applicaton could be logged.
The application uses JDBC API, and does not CMP or O/R mapping. The datasource
is retrieved by JNDI.
Thanks for your help very much.
View the original post :
kukeltje wrote : mennen wrote : Hi,
| |
| |
| | Any clues as to how to get out of this fork?
| |
| |
| |
|
| give the state an additional 'exception transition' and do not show that in
the ui. That way you can signal the token in that stat to take the exception
Here is something from our testsuite.
form-auth.ear
==
| = form-auth-roles.properties
| =form-auth-users.properties
| =form-auth.war
| =jboss-service.xml
| META-INF
| |
| - application.xml
| - jboss-app.xml
| -
rafaelle wrote : Sorry, it is Mar 17.
| Here is the link:
http://www.jboss.com/index.html?module=bbop=viewtopict=79398
|
| :)
Thank you Rafelle for the link, i added a post to your question..
View the original post :
Since the web and the ejb layers are bound by the same security domain.
subsequent auth requests(for the ejb calls) after the first successful auth to
the web layer, go thru the cache that exists in the JaasSecurityManager. This
is normal behavior. You will see auth requests going out to the
Enable trace level logging on the security layer as outlined in item 4 of:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ
That will give you good idea as to what is happening under the hood.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931791#3931791
I have this problem with Jboss 4.0.2 when I trying to call ejbs with a web
application:
javax.naming.NamingException: Could not dereference object
[Root exception is java.lang.IllegalStateException: Failed to find method for
hash
:-884175917852741154]
Thanks.
View the original post :
You are not forced to use the direct contract on SecurityAssociation, in your
client programs. You can specify the ClientLoginModule in your jaas config on
the client side.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClientLoginModule
View the original post :
We are using JBoss 3.2.3 for our development.
And we are currently working as per JSP 1.2 standard.
We are planning to use JSP 2.0.
Does JBoss 3.2.3 support JSP 2.0?
If not, which version of JBoss supports JSP 2.0?
Thanks.
View the original post :
I know yet where my problem was. I seem from the brginning that the
PersistenceXmlLoader does not find the persistence.xml file. This means you
have to make sure that the persistence.xml is in the classpath located.
View the original post :
a token that arrives in an end state causes the process to be ended.
that is the definition of the end state.
if you want all concurrent paths to finish before the process is ended, use a
join before the end state.
View the original post :
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ
Item 4: Enable trace level logging on the serverside and see the log for
information.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931796#3931796
Reply to the post :
Hello.
The deploy error occurs when persistence.xml is put in deploy directory.
Is the writing of persistence.xml wrong though it is written
Caused by: javax.naming.NameNotFoundException: ejb3mn not bound in deploy
error log?
Or, are other configuration files insufficient?
Please help me.
Can anybody help on this ?
This is a serious problem !!
as we are loading a taskInstance, where the taskId actually doesn;t exists...
but jbpm doesn;t throw any exception when loading taskInstance.
Shriram
View the original post :
Hello,
there is no pooling during the startup. You can see your log statement after
you do an create().
Thomas
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931801#3931801
Reply to the post :
Hello,
It would be good if you would have an ejbCreate() method in your SB.
That is the first message from the exception!
Thomas
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931802#3931802
Reply to the post :
The current business process annotations e.g. StartTask, CreateProcess et. al.
make it difficult to write generic code for working with process defined at
runtime because the parameters for things like process and transition are
defined at compile time.
Supporting expressions for those
Hello everybody.
I created an exception class InvalidDataException derived from Exception. This
exception is thrown in an EJB session.
In my servlet I wrote two catch blocks. The first one is :
catch(InvalidDataException ex) and the second one is catch(Exception ex).
The InvalidDataException
Hello,
I'm using JBoss as application server, and its start is very slow.
Is there a way to know what takes a lot of time ?
Does it exist an application allowing us to see what is loading ?
Thanks in advance.
View the original post :
Here is my jsf code:
| h:selectOneMenu id=selectCar value=#{carBean.currentCar}
| f:convertNumber /
| f:selectItems value=#{carBean.carList} /
| /h:selectOneMenu
|
carBean.carList is a type of List and the selectItems have int values.
The page is displayed correctly but when
Hello,
I'm using JBoss as application server, and its start is very slow.
Is there a way to know what takes a lot of time ?
Does it exist an application allowing us to see what is loading ?
Thanks in advance.
View the original post :
Are any applications deployed on the server? They might be taking time to
deploy. You might want to use profiling tool to find out what activity is
taking a lot of time:
http://www.ej-technologies.com/products/jprofiler/overview.html
View the original post :
Found the cause of my Problem.
The ErrorMessage was missleading. I thought that he cant find the Dummy.class,
but he was unable to find another dependency.
Dummy was enhanced by jibx for xml serialisation purposes. He just lacked on
the jibx-run.jar.
In such a case i would expect some kind
Hi,
When I have a long process (a few minutes) and then perform a database
operation. I have the following exception:
ERROR 21 Mar 2006 15:50:54,910 util.EJBHomeFactory -
org.jboss.util.NestedSQLException: Transaction is not active:
tx=TransactionImpl:XidImpl[FormatId=257,
hi all,
From the documentation i came to know a TreeCache can have multiple roots,
allowing for a number of different trees to be present in the cache.
But i am not able to create multiple trees in my cache.
pliz give me appropriate solution for this problem so that i can create
multiple tree
jyotitushir wrote : After adding some client jars my code is running fine.
| Thanks for your support
Could u please tell me what client jars u added, coz I have the same problem
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931814#3931814
Reply to the post
They've stopped again!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931815#3931815
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931815
---
This SF.Net email is
[EMAIL PROTECTED] wrote : if you want all concurrent paths to finish before
the process is ended, use a join before the end state.
Thank you for your reply. All i want to do is end the process, and i tried to
end it, and there are tokens (children of the fork) that are still active even
after
First of all, nice work on integrating the Internationalization features.
A couple of suggestions:
1) Can you make it more lenient when a message does not exist in the resource
bundle. Currently it gives a stack trace, it would be more forgiving for it to
show the name of the missing resource
I am working on some of the JSF/Facelets related JBoss demo apps in the current
JBoss IDE.
The content assistant works with JSPX files for JSF and Facelets tags, but I
could not get it to work with XHTML files.
Please could someone give me a hint how to configure it correctly?
Thanks in
Hi,
I'm trying to run JBOSS 4.0.3 with a custom server base path using :
-Djboss.server.base.url=file://C:/java/workspaces/local/server
-Djboss.server.base.dir=C:/java/workspaces/local/server
but the server boot fails with a DeploymentException No ClassLoaders found
for:
Hi all...
After the Login I am getting the following result...
HTTP Status 403 - Access to the requested resource has been denied
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931825#3931825
Reply to the post :
Hi all
Iam using
jboss portal 2.0
Jboss AS 4.0.2
Oracle9i
I want to athunticate the users for the jboss portal using the oracle database.
I have created tables, Principals and Roles and Iam using
DatabaseServerLoginModule in my Login-config.xml(default/conf/login-config.xml).
I have done all
This is working ..
I changed the package to org.jboss.annotation.security.SecurityDomain
and everything started working like a breeze.
but still the question remains, why it is not working with
org.jboss.aspects.security.SecurityDomain package.
Any hints ?
Thanks
Nik
View the original
Hello
2) Is it safe to make multiple calls through the same proxy on multiple
threads? Do I have to think about managing pools of them to save on create()
calls, or can I just get one and use it freely?
This is from the ejb specification and should answer this question:
The container must
anonymous wrote : @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
| @TxSynchronized
REQUIRES_NEW?The annotated method is executed within a newly generated
transaction.If the caller method is already in a transaction, it is suspended.
@TxSynchronized : When a @TxSynchronized
Now that entity beans are simply POJOs: Is it still considered best practice to
pass value objects to the client?
Most of the EJB 3 examples I have seen so far use entity beans directly in the
JSF/client layer.
I tried to encapsulate getters/setter of entity beans in an interface and use
only
When I use EJB3 and call the JNDI lookup method from an OSGi bundle client,
I'll get this stack trace:
java.lang.ArrayStoreException: org.jboss.ejb3.remoting.IsLocalInterceptor
| at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
| at
criess wrote : If you want to get the jBPM GUI Eclipse plugin to work
properly you can:
|
| - Check out the jbpm.ide module from CVS
| - Rebuild the org.jbpm.ui package (you are going to new Eclipse WST support
to do this)
| - Take the class files from org.jbpm.ui and create a ui.jar
In JBoss cluster if there are some planned maintenance to be done on various
nodes, how can it be achieved without interrupting the service.
Is there a way by which we can migrate the services running on a node and stop
any new request coming to that node so that the machine can be patched up
nobody can explain?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931836#3931836
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931836
---
This SF.Net email is
Hi ,
I m prety new to jboss deployment.What i want to know is how to write
jboss.xml,jboss-web.xml and files like application.xml files , is there any
tools to do this and can we do it without using a tool.please help me...
thanks,
View the original post :
Hello,
I use the birt-viewer application under JBoss AS.
My report works well under Eclipse/BIRT development environment.
But if I deploy teh same report to JBoss AS and try to run it, I get just a
blank page back, instead of a chart which I developed.
The log of the BIRT application says:
...
Hi
I looked at jira and i did not see anything about version 3.0 of jboss portal
so can you help me about two following item
is it true tha : none of jboss portal run on tomcat until version 3.0 , so i
can not deploy 2.2 on tomcat?
is there any schedule for jboss portal version 3.0 ?
View
Rough guess:
@EmbeddedId
What tables do you expect to join ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931843#3931843
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931843
Dear All,
I am trying to install and deploy Jboss portal in my machine, i follow the
whole instruction in the user guide and tried to deploy it but the below error
shows up, Any idea why i am having this error. By the way, i am using the
follow:
Windows 2000
Jboss 4.3
postgres 8.0
great! the WSclientAppl aproch seems to be the simplest, il try it out =)
/Anders
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931845#3931845
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931845
Not sure, what you are trying to accomplish with it, however, where do you
know,
1) that's the EM has only ONE instance of an SLSB?
2) that there is only one EM, which manages the SLSB?
3) that not another instance of something accesses your bean from within
another ClassLoader?
4)
Hi,
I just spend a few houres to figure how to use Hibernate Annotaiton with jBPM.
Here is the receipt (can probably be improved):
1-- Create an implementation of the db persistence service:
-
package com.btc.fwk.jbpm;
While configuring the apache plugin for jboss, it was observed that the list of
app server nodes need to be statically defined in the worker.properties file.
Does this infer that the list of app server is static for the plugin to load
balance, so if another server (node) is dynamically added to
My cluster consist of two nodes. I have deployed Message Driven Bean using
farm. This MDBean listens to a topic. But when I send message to this topic,
instance of MD bean on each node processes this message. Is it possible to make
it work such way that MD bean on only one node (any one) will
Hello
I have tried to install and run SEAM configured Web application. I did make an
EAR (symass.ear) archive which contains the folowing (symass is the name of the
application:
/META-INF/application.xml
/META-INF/jboss-app.xml
/jboss-seam.jar
/symass.war
application.xml contains the
By the way what I additionaly foud out is that jboss-seam.jar was not loaded
into loader repository which I registered in jboss-app.xml but it was loaded in
SEAM examples. Is there somethin I should configure additionally so that
jboss-seam.jar will be picked up.
Silvo Koren
View the
Changing UseJBossWebLoader to true didn't help..
We're using compile-time instrumentation. All aspects are deployed in a single
.aop file.
May be the problem is caused by the fact that aspectized class is called by
it's own deployer?
anonymous wrote :
| [...]
| at
Hi, I have some entities persisted, when i delete one entity
which has relationships to it which are cascaded ie 1 to many,
the deletion process throws the following error
| 13:17:22,527 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces
Servlet threw exception
|
susitha,
One major problem I noticed is an incorrect security-domain setting in web.xml.
This should be 'java:/jaas/protal' for your case. The thread you posted has a
different application-policy name (example2) than yours.
Some TRACE logging of security layer would be helpfull to.
see if
Thanks for the clarification.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931858#3931858
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931858
---
This SF.Net email
Thanks for the quick answer! I'll try that...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931859#3931859
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931859
---
Hi to everybody and thanks for the big job you have done!
i know that i am asking a silly question...
i need some help with my first SEAM app.
(i already posted this in the seam forum and gavin told me i should post it
here because Emmanuel would know the answer)
i already have a working app
hi,
my question is what's differance between swimlane role and user .
how to atribute user to a role and role to swimlane
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931861#3931861
Reply to the post :
louisaj_work,
Your assumptions are incorrect with regard to Tomcat security layer.
Tomcat has a server.xml file that configures the server. With Tomcat 5.5
embeded (and so I assume Tomcat 4.1), this server.xml file is in tomcat sar. I
am interested in seeing what Realm you are using. In
How are you building the EAR/WAR? The Class-Path entry might not be populated
in the manifest for your web app. Make sure that this line appears:
Class-Path: jboss-seam.jar
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931863#3931863
Reply to the post :
Hello,
I'm presently evaluating JBoss Cache for a large system state replication
mechanism. However, we're looking at a cache where certain sub-trees may change
frequently wheras others may stay fairly static for a long time but may mutate
rapidly in certain periods. As such, this problem
Hi,
we are trying to bind a faces UI component to a conversation.scope Java bean
with SEAM 1.0B2 and myFaces 1.1.1/facelets.
Whenever the form is postet SEAM complains that no conversation is active and
throws an exception.
| h:inputText value=#{conversation.input}
Hello again!
Ich have another problem with data base access (still jboss 4.0.3SP1 without
ejb rc4; sybase ASA9):
I have to use stored procedures. I mapped two of them with a hbm.xml file.
worked fine with result sets with only one row. but now i want to use this for
a procedure that returns
Hi,
Is it possible to change the @Where clause at runtime, thus implementing some
kind of polymorphic query on my collection ?
As an example I have the following:
| @OneToMany(mappedBy = service)
| @MapKey(name=id)
| @Where(clause=topic_type='CMS')
| public MapInteger,Topic
There have been a number of changes made since my post that dramatically
improve scalability and performance of JBossCache, and a few of those
optimizations alleviate some of root node contention.
However, the fundamental problem that is described in this thread still exists.
The right
cssmith4,
Sorry, I though I responded to your questions. Must of got sidetracked.
| 1: SecurityAssociationValve gets added to pipeline by TomcatDeployer
|
| 2: The Principal is not necessarily stored under any key. The Tomcat
Session implementation has a Principal object that gets set
Thank you S MUCH!!
Silvo Koren
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931870#3931870
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931870
---
This
In fact then you define timer in your processdefinition it is not executed.
It will be created in special table jbom_timer suring executing of
process_instance. . And you should have a schedulerthread running: it will
execute timers that are created. To start scheduler thread you can call
You only answered question 1 of 34!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931873#3931873
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931873
---
This SF.Net
Any more ideas ?
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931874#3931874
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931874
---
This SF.Net email is
I created that page such that I wouldn't have to make 4 posts to a thread
to get the most logging, config, etc.
You've had your chance.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931875#3931875
Reply to the post :
Hi All,
I have an EJB that implements EntityBean.
public void setEntityContext( EntityContext ejbCtx ) throws RemoteException
{
this.ejbCtx = ejbCtx; //this.ejbCtx is an EJBContext object.
}
I am trying to print several values of the 'EntityContext' that is being passed
IF THE CODE IS SCRAMBLED, PLEASE COPY AND PASTE THE CONTENT IN A TEXT EDITOR.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931877#3931877
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931877
This is what I see in the log:
2006-03-22 09:10:21,009 TRACE [org.jboss.security.SecurityAssociation]
getPrincipal, principal=null
2006-03-22 09:10:21,015 TRACE
[org.jboss.security.plugins.JaasSecurityManager.identity] Begin isValid,
principal:null, cache info: null
2006-03-22 09:10:21,015
An other option (when you can't overwrite Manifest like me) is to add the
following code into application.xml :
| module
| javajboss-seam-1.0-beta2.jar/java
| /module
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931879#3931879
Reply to
I checked:
fresh install of jboss.
seam from cvs.
numberguess works.
added adf libs in: server/default/deploy/jbossweb-tomcat55.sar/jsf-libs
numberguess broken*
removed adf libs
numberguess works.
added adf libs
seam beta 2
numberguess works
seam from cvs
numberguess broken
The warning from the
Tomas,
Thanks for your quick response. But I am not sure , why documentation talks
about configuration in JBOSS.xml.
Configuration is for instance pool has MaximumSize/MinimumSize as child
elements.
Can you please comment?
I am quite sure ejbCreate() will get called, when ejb client calls
Thank you for your quick reply. It was my impression though that the root node
contention was an issue whther you had multiple roots in a tree or not. Or am
I missing something?
Just for safety, let me expand a bit: onsider three domain which are keeping
state in the cache as /a, /b and /c.
Hi I am getting following exception while deploying hello bpel example. The
exception says that there are any too many tables in the query. The maximum
allowable tables is 50. I want if any one else has similar exception. I know
this seems to be database limitation. But is there any way that I
Please let me know if my assumption is valid or not.
I have an entity bean named parent which has an autogenerated id.
I also have another entity bean named child which has an auto generated id.
The parent object has a list of child objects mapped as one-to-many in the
parent with parent being
I've found a way around this.
In my CONVERSATION scoped component I inject an EVENT scoped component, which
handles the binding.
So my conversation component looks something like:
@Stateful
| @Name(cart)
| @Interceptors(SeamInterceptor.class)
| public class ShoppingCartBean implements
Well, yes I looked in the samples provided and I am sorry I was not able to
find out the reason why this is not working...
I really would like to know how to fix this... Thank you !
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931887#3931887
Reply to the
Moved to user forum
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931889#3931889
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931889
---
This SF.Net email is
Table Customer join table Airline on Customer.CUSTOMERID = Airline.ID and
Customer.NAME = Airline.NAME
Customer.CUSTOMERID and Customer.NAME are complex primary key
ejb-3_0-pfd-spec-persistence, @PrimaryKeyJoinColumns Example 2:
Table Employee join table EmployeeInfo on Employee.ID =
Hi People,
I sort the problem out, my mistake was i modified the JNDI-Name in my
portal-postgresql-ds.xml from the default one PortalDS to my database name
which should not be the case, and you must leave the jndi-name as the same as
Jboss portal use it to find the main bean.
This is sort my
In case you use BMP e.g. your code might look like:
try {
connection = jdbcFactory.getConnection();
connection.setReadOnly(true); // this might fail
preparedSatement = connection.prepareStatement(...);
resultSet = preparedStatement.executeQuery();
...
} catch (...) {
} finally {
Whenever an attempt is made to retrieve a node from the cache, the cache is
traversed from the root node (has a special Fqn of /).
There is a single instance of the root node within the cache, which like all
nodes, keeps a reference to its children in a hash map that supports concurrent
reads,
mounou wrote : Hi everyone,
| I've problems using metadata on Jboss AOP!
| Here is my example:
|
| The main class:
|
|
| package jboss.aop2;
|
| public class CompteBancaire {
|
| private double tauxInteret =0;
| private double solde = 0;
| public
I don't know why my xml files don't appear !!!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931896#3931896
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931896
---
use the code tags
| for
| example
| /for
|
and use the preview button. Which version are you using?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931898#3931898
Reply to the post :
As an aside, how do I build, so I do not get all the DEBUG messages?
Is there an environment variable or ant flag to set?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931899#3931899
Reply to the post :
So, use @Version? Use Version field each table? but applications that use more
than one
Version property or field will not be portable.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931900#3931900
Reply to the post :
http://jira.jboss.com/jira/browse/EJBTHREE-485
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931901#3931901
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931901
---
1 - 100 of 201 matches
Mail list logo