[JBoss-user] [JBoss jBPM] - Re: modeling a long running process

2006-04-12 Thread [EMAIL PROTECTED]
Fred,

There *is* some unreleased code wrt JMS in CVS. It will be released in the 3.2 
branch AFAIK. 
The moment you want to switch is really up to you. If you want to use 
clustering for instance, you would have to use a clusterable JMS solution. As 
long as the internal system works for you, there is no reason not to use it... 
If you want to scale up the high end with really big loads, than you will 
probably want to use a performing JMS server.
So in a way you should estimate (or as you put it guess) what the expected 
loads are going to be and test if the performance under this load (which you 
would have to simulate) is ok.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936777#3936777

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936777


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JBossWS performances versus other JavaEE Application Server

2006-04-12 Thread oliv06
Hi all,

I'm evaluating some application servers. Jboss was for me THE choice, but Web 
Services are something very important for us and we are in front of serious 
performance issue.

I use a web service to send up to 4000 customers objects, JBoss is really
slow compared to others application servers.

There is no database issue involved.

I must be missing some jboss configurations ?

Could you please help me ?


Here are the results (milliseconds to get the data on a client app -every tests 
on the same machine) : 

Number of Customers 100 200 300 1000 2000 4000


WS JBoss 4.0.3SP1 
 JDK1.4 
(-Xms128m -Xmx512m) 550 1030 1600 5500 10400 21300

WS Jboss 4.0.4CR2 
 JDK 1.5 
(-Xms128m -Xmx512m) 
? log level ERROR   400  800 1250 5000 4 257500

WSAD 5.1.1303030   190360900

GlassFish 151515 80130   300

WS .NET (2.0) 151515 60125   240


As you can see, performances are very far of competitors one... I cannot 
believe this comes from JBOSS...but I don't know what to do.

This tests are all done with out of the box and development AS without specific 
tuning.


Simple code:

@Stateless()
  | @WebService()
  | public class TestPerfWSBean implements 
org.testperf.ejb.session.TestPerfWSRemote {
  | 
  | @WebMethod()
  | public Customer[] getCustomers(int nbCustomers){
  | Customer[] arrCustomers = new Customer[nbCustomers];
  | 
  | for (int i=0; inbCustomers; i++) {
  | Customer cust = new Customer();
  | 
cust.setAddress1(i+--ADDRESS_1--+i+--);
  | 
cust.setAddress2(i*2+--ADDRESS_2--+i*2+--);
  | cust.setBirthdate(new Date(System.currentTimeMillis()));
  | cust.setCountry(i+-COUNTRY-+i+-);
  | cust.setFirstname(i+-FIRSTNAME-+i+-);
  | cust.setId(i*12345+-ID-+i*98765+**);
  | cust.setLastname(i+LASTNAME-+i+);
  | cust.setType(i+-TYPE-+i+-);
  | 
  | arrCustomers = cust;
  | }
  | 
  | return arrCustomers;
  | }
  | }
  | 
  | public class Customer implements Serializable {
  | private final static long serialVersionUID = 123456;
  | private String id;
  | private String firstname;
  | private String lastname;
  | private Date birthdate;
  | private String type;
  | private String address1;
  | private String address2;
  | private String country;
  | 
  | public String getAddress1() {
  | return address1;
  | }
  | public void setAddress1(String address1) {
  | this.address1 = address1;
  | }
  | public String getAddress2() {
  | return address2;
  | }
  | public void setAddress2(String address2) {
  | this.address2 = address2;
  | }
  | public Date getBirthdate() {
  | return birthdate;
  | }
  | public void setBirthdate(Date birthdate) {
  | this.birthdate = birthdate;
  | }
  | public String getCountry() {
  | return country;
  | }
  | public void setCountry(String country) {
  | this.country = country;
  | }
  | public String getFirstname() {
  | return firstname;
  | }
  | public void setFirstname(String firstname) {
  | this.firstname = firstname;
  | }
  | public String getId() {
  | return id;
  | }
  | public void setId(String id) {
  | this.id = id;
  | }
  | public String getLastname() {
  | return lastname;
  | }
  | public void setLastname(String lastname) {
  | this.lastname = lastname;
  | }
  | public String getType() {
  | return type;
  | }
  | public void setType(String type) {
  | this.type = type;
  | }
  | }

Hope you have enough information to help me!


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936778#3936778

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936778


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list

[JBoss-user] [Remoting] - Re: Client connections.

2006-04-12 Thread [EMAIL PROTECTED]
Well, could never be totally synchronous as would have to call on the other 
clients when one client made an synchronous invocation (basically making those 
other clients accept callbacks).  This is also going to require some server 
component to be running within each of these client instances.  There is also 
the issue of state synchronizations (i.e. client A makes invocation on server 
at the same time client B makes an invocation on the server... each could then 
be pushing different state back to the other client).  

This *could* be accomplished with JBossRemoting, but is going to require having 
a callback server in each client.  This could also be done via JMS, as already 
mentioned, or could even setup via JMX Remoting, where state change on server 
would fire notification and could have clients registered as notification 
listeners.  In the end, is going to require some work to wire up the clients 
with something to receive the state change from the server via asyn mechanism.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936779#3936779

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936779


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: swimlane question

2006-04-12 Thread [EMAIL PROTECTED]
The expressions used in the websale processdefinition are nothing else than a 
special kind of assignmenthandler. So if you use the jBPM identity module, this 
expressions are very convenient. Look in the docs for how you should use this. 
If the provided identity model does not meet your needs, feel free to use LDAP 
or any other system and use your own assignmenthandler to assign the swimlane 
to an actor.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936780#3936780

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936780


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to specify external jar files for ActionHandlers

2006-04-12 Thread [EMAIL PROTECTED]
Yes, this would be the best way if you don't want to modify the webapp. Put the 
jars in the '%jbpm_server_home%/server/jbpm/lib' folder where 
'%jbpm_server_home%' is the location where you extracted your starter's kit. 
Another possibility is to rebuild the webapp and put the jars in the 
WEB-INF/lib folder of your war file.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936781#3936781

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936781


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: ThreadSafe Access to jBPM

2006-04-12 Thread [EMAIL PROTECTED]
The classes you mention are not threadsafe, so you should indeed create them 
for each client.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936782#3936782

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936782


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Need help with EJB3 and jBPM 3.1 transactions on JBoss 4

2006-04-12 Thread [EMAIL PROTECTED]
Johan,

We did not yet port/test jBPM on the JBoss 4.0.4 branch, so there are probably 
some incompatibilities between jars. Are you sure you use the same jars for 
jBPM as for your JBoss instance?

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936783#3936783

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936783


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: ask for help .about org.jbpm.ui.wizard.ExportParWizard;

2006-04-12 Thread [EMAIL PROTECTED]
AFAIK Runa is using jBPM 2. But then it is a very long time since I checked 
their product.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936784#3936784

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936784


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: generating seam files with hibernate tools prob.

2006-04-12 Thread DoubleDenim
anyone got any ideas on this one before I jump out the window?

I've solved the problem of Hibernate Dialect must be explicitly set by just 
adding the database connection details (even though I'm not using them).

I'm left with this one

org.hibernate.MappingException: An AnnotationConfiguration instance is required 
to use 
  No message


Is this a bug? Everything else seems to work fine but when I go to run i always 
get stopped by this error.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936785#3936785

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936785


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to let process stay in node

2006-04-12 Thread [EMAIL PROTECTED]
Hm, there is some inconsistency here. What if the subprocess spawns again a 
subprocess and then another subprocess... What would a signal to the 
mainprocess then be supposed to do? What if you want to cancel one of these 
running subprocesses?
There is no reason you should not signal the token of these subprocess 
instances IMO. And as for the 'for-each' semantics. You can write a node which 
is basically a process-state with for-each semantics if you would like to do 
that... and then at each time spawn a subprocess.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936786#3936786

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936786


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: MDB pool configuration EJB3

2006-04-12 Thread jjklappenbach
One way is presented in the test classes provided with the source distribution 
of JBoss 4.0.3SP1.  The example uses annotations to configure the pool, but 
each annotation has its descriptor analog.

Look for the file StrictlyPooledMDB.java.  The lines you will find of interest:

@PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, 
maxSize=StrictlyPooledMDB.maxActiveCount, timeout=1)

where StrictlyPooledMDB.maxActiveCount is an int defined in the class to 
establish the maximum number of threads.

Your milage may vary here, as setting maxSize to low values can result in JMS 
subsystems exceptions.

-jjk

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936787#3936787

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936787


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - My JSF messages won't appear....

2006-04-12 Thread MarkusNSD
I can get them with this:
h:messages layout=table showDetail=true showSummary=true
errorClass=errors /

But not with this


h:panelGroup
h:inputText 
rendered=#{pageBean.editPageCurrency}
id=pageCurrencyId 
value=#{pageBean.pageCurrency.double}
f:convertNumber maxFractionDigits=2 
/
f:validateDoubleRange minimum=100 
maximum=4000 /
/h:inputText
h:panelGroup
h:message for=pageCurrencyId 
id=pageCurrencyMessageId
errorClass=errors /



So where's the problem, is it me, JSF or JBOSS portal ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936788#3936788

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936788


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Complex validation assign message to specific component.

2006-04-12 Thread supernovasoftware.com
That was it.  That rocks.  It seems to do exactly what I wanted.  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936789#3936789

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936789


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-12 Thread cwad0000
Thanks, but I do NOT want to use the timer functionality, I want to use the 
duedate on the task as I had in my example.

That will set the due date in jbpm_taskinstance, but I cannot find any 
documentation how that due date is used.
I would expect that some kind of event is thrown, but I cannot find any 
information about it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936790#3936790

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936790


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-12 Thread jllavina
My application is packaged using an EAR (ysf.ear), with a JAR (ysf.jar) and a 
WAR (ysf.war), and the JAR being deployed first.

The jmx-console doesn't show me the JNDI service, the only place where I found 
references to my application is here:

jboss.j2ee

  * ear=ysf.ear,jar=ysf.jar,name=Employee,service=EJB3
  * module=ysf.jar,service=EJB3
  * service=ClientDeployer
  * service=EARDeployer
  * service=EARDeployment,url='ysf.ear'

This is the log shown in the console window when the application is deployed:

08:55:07,441 INFO  [EARDeployer] Init J2EE application: 
file:/J:/jboss-4.0.3SP1/server/all/deploy/ysf.ear
08:55:07,882 INFO  [Ejb3AnnotationHandler] found EJB3: ejbName=Employee, 
class=es.dbs.ysf.employee.EmployeeSessionBean, type=STATELESS
08:55:07,892 INFO  [Ejb3Deployment] EJB3 deployment time took: 90
08:55:07,932 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=ysf.ear,jar=ysf.jar,name=Employee with dependencies:
08:55:08,533 INFO  [EJB3Deployer] Deployed: 
file:/J:/jboss-4.0.3SP1/server/all/tmp/deploy/tmp33605ysf.ear-contents/ysf.jar
08:55:08,543 INFO  [TomcatDeployer] deploy, ctxPath=/ysf, 
warUrl=.../tmp/deploy/tmp33605ysf.ear-contents/ysf-exp.war/
08:55:09,705 INFO  [EARDeployer] Started J2EE application: 
file:/J:/jboss-4.0.3SP1/server/all/deploy/ysf.ear

And this is part of my source code:

EmployeeSessionLocal.java

  @Local
  public interface EmployeeSessionLocal
 { ... }

EmployeeSessionBean.java

  @Stateless(name=Employee)
  public class EmployeeSessionBean implements EmployeeSessionLocal
  { ... }

Controller.java

  public class Controller extends HttpServlet {
public void doGet( ... ) throws ServletException, IOException
{
InitialContext context = new InitialContext();
EmployeeSessionLocal session = (EmployeeSessionLocal) 
context.lookup( Employee );
 ...
}
  }

Any idea?

Thanks!!
José Luis.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936791#3936791

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936791


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Remoting] - Re: Client connections.

2006-04-12 Thread jboss2005_01
Hi Tom,


Indeed, the issue about multiple clients invoking the application at the same 
time could cause some difficulties. The question was rather simple, the answer 
is not. I'm going to re-evaluate my concept and try to solve it by using JMS as 
proposed earlier in this discussion. 

Thank you to all for your input and your time. If I find a way to implement my 
first proposal (which will be quite a challenge I guess) I'll let you know ;-)

Greetings and keep on going JBoss


Regards,
Kurt

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936792#3936792

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936792


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.3 SP1 Start-up problem

2006-04-12 Thread sabbir
I solved the problem by reserving ports from 1098 to 1101 using regedt32 as 
suggested in the following link:

http://www.jboss.com/index.html?module=bbop=viewtopict=64248

Thank you all.

Sabbir

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936793#3936793

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936793


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Remoting] - Re: Client connections.

2006-04-12 Thread [EMAIL PROTECTED]
Sure.  No problem.

If you happen to come across another solution not mentioned that works for you, 
please let us know (as would be very cool and would love to know how you did it 
;) ).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936794#3936794

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936794


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss 4.0.3 SP1 Start-up problem

2006-04-12 Thread jaikiran
Try these out:

http://www.ibiblio.org/security/articles/fport.html

http://www.sysinternals.com/Utilities/PsKill.html

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936796#3936796

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936796


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBOSS 4.0.3SP1 - Pb for WS deployment

2006-04-12 Thread ReneHoferichter
Hi there,

I have the same problem. I'm using Netbeans 5.0 and JBoss 4.0.3SP1. I first 
made a WS for Sun Application Server 8.2 that worked fine (thaks to the 
tutorial :-)). Then I thought: why not deploy to JBoss as well. After trying 
for a whole day now and doing stuff over and over again I come to the same 
error message: It seems that JBoss expects some _RequestStruct and 
_ResponseStruct classes that could/should be generated by a tool called xrpcc 
(see 
http://java.sun.com/developer/technicalArticles/WebServices/getstartjaxrpc/ ). 
I am now trying to find a way to get this tool running / these classes 
generated...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936797#3936797

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936797


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to let process stay in node

2006-04-12 Thread hoogenbj
You can let me worry about the inconsistency:-) 
The main thing for me is that the program sending the signals should not care 
whether it is sending the signal to the main process or the sub-process.
 
That, incidentally, happens to be the problem I have with using process-state. 
In your testWithSubProcess method in 
org.jbpm.graph.exe.SubProcessPlusConcurrencyDbTest, the program sending the 
signals needs to be aware that there is a sub process so that it can retrieve 
the sub process instance and send signals to it.

Are you saying I should write my own custom version of a process-state?
I wouldn't mind, but I would want such a thing to be available to GPD, and I 
would still like to not have to care about having to send the signals directly 
to the sub-process. If that is possible (it didn't seem likely after my first 
glance at the code), I'm up for it. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936798#3936798

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936798


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Browsing the front of a queue

2006-04-12 Thread genman

You can peek at the first message by reading the message, not acknowledging it, 
then doing a Session.recover()

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936799#3936799

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936799


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: setExceptionListener() warnings in clustered environment

2006-04-12 Thread genman

Are you using the java:/JmsXA adaptor?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936800#3936800

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936800


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Need help with EJB3 and jBPM 3.1 transactions on JBoss 4

2006-04-12 Thread J.Hedin
The only jars added to JBoss for jBPM are jbmp-3.1.jar and 
jbpm-3.1-identity.jar. Hibernate is read from JBoss 4.0.4.CR2 built in jar. 
JBPM works find with JMS, but having SLSB - token.signal() - SLSB gives the 
error. Will it help to rebuild jBPM from the source?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936801#3936801

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936801


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: EAI integration

2006-04-12 Thread jmartell
Thanks!

So the idea is to create workflows with associated actionhandlers that wait for 
messages from the EAI platform. That sounds good! With this functionnality I 
can follow the execution of my processes, am I right?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936802#3936802

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936802


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Deployment of EAR

2006-04-12 Thread cairth
Simple question, is there any way in which I have configure JBoss 4.0.3 to 
unpack an ear file when it has been deployed?

Cheers.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936803#3936803

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936803


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - empty list with request Parameters and Attributes in Filter

2006-04-12 Thread Roman.Angelov
Hi dears,
I have web application witch uses javax.servlet.Filter implementation class for 
filtering. In this class I perform a lot of process (security and more) and 
everything work well on JBoss 3.0.7. I try to migrate on JBoss 4.0.3 and it's 
very interesting that in my implementation class (the filter) I cannot see 
request parameters and attributes, just this lists in request object are empty 
and I have a lot of problem after this fact. There isn't redirecting because 
the flow of the web application is well, but I can't see the parameters and 
attributes. Any ideas for this mistical fact?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936804#3936804

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936804


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - JBoss Eclipse IDE Tutorial

2006-04-12 Thread Mark_1900
Just did the tutorial at 

http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html

There are a couple of problems I came across.


 My environment was created using. 
* eclipse-SDK-3.1.1-win32.zip
* JBossIDE-1.5.1.GA-ALL.zip
* jboss-4.0.4.CR2.zip


Problem Areas;
* Need Java Runtime 1.5 (5) so that XDoclet can run without error.
* When you create the Debug server you need to specify Server Configuration 
as all, otherwise you will get clustering errors
* Packaging Configurations is an absolute mess.  There needs to be 
environment/version specific steps.  So read very closely and goodluck :-p  


My Big GRIPE/Rant!!

Seriously that is one of the most basic tutorials and yet;

*  It is s complicated to setup
This tutorial shows how to create a very basic program.  And yet there are sooo 
many steps.  Setting up the XDoclet Configurations and the Packaging 
Configurations was very involved.  Why couldn't there be a default way of 
doing things, and allow the user to override it if they wanted to get tricky.  
I think they should provide a default/Best Practice way of doing something and 
if the user wants to override it then allow them.

It's nice to see that in the background the packaging is done via an Ant script.

* The project layout is very messy
What ever happened to any Best Practicies when developing Web Applications.  
For one, the whole Enterprise Application including EJB project and Web project 
all exist in one vendor specific java project  (Since the project that is 
created is JBoss-IDEJ2EE Projects  J2EE 1.x ).  This raises many issues 
about how bigger projects could possibily be handled.

* Projects now seem overly complicated
Why did the JBoss people decide not to extend the Eclipse standard tools used.  
You could create an Enterprise Application Project via File  New  
Project  J2EE, however you have to use the projects File  New  
Project  JBoss-IDE.  You could create an EJB Project via File  New  
Project  EJB, a Dynamic Web Project via File  New  Project  
Web, however you have to..  It seems that nothing is standarized, and 
everything seems to have multiple ways of doing the same thing.


 My conclusion 
It would seem to me that using this JBoss Eclipse plugin together with the 
JBoss server would see my development would seem to take on a vendor specific 
tilt.  When I am accustomed to a certain Web Application project layout and 
this is completely different here, my development approach becomes confused.  
In the end though, maybe all I need is another tutorial.  :-)



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936805#3936805

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936805


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Can't shutdown node when: handleJoin failed, retrying

2006-04-12 Thread mroosendaal
Hi,

Since this morning i seem to have a problem when starting one server with 
cluster configuration:
09:50:57,082 WARN  [ClientGmsImpl] handleJoin(src-r-ts04:4475) failed, retrying

In the logging i can see this:
2006-04-12 09:52:47,131 DEBUG [org.jgroups.protocols.PING] waiting for initial 
members: time_to_wait=2000, got 0 rsps
2006-04-12 09:52:47,146 DEBUG [org.jgroups.protocols.PING] received 
FIND_INITAL_MBRS_RSP, rsp=[own_addr=SRC-V-AS57:1289, coord_addr=src-r-ts04:4422]
2006-04-12 09:52:47,146 DEBUG [org.jgroups.protocols.PING] waiting for initial 
members: time_to_wait=1985, got 1 rsps
2006-04-12 09:52:49,131 DEBUG [org.jgroups.protocols.PING] initial mbrs are 
[[own_addr=SRC-V-AS57:1289, coord_addr=src-r-ts04:4422]]
2006-04-12 09:52:54,131 WARN  [org.jgroups.protocols.pbcast.ClientGmsImpl] 
handleJoin(src-r-ts04:4475) failed, retrying.

There is no other node listening:
09:50:45,019 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
09:50:45,035 INFO  [DefaultPartition] I am ([ip]:1199) received 
membershipChanged event:
09:50:45,035 INFO  [DefaultPartition] Dead members: 0 ([])
09:50:45,035 INFO  [DefaultPartition] New Members : 0 ([])
09:50:45,035 INFO  [DefaultPartition] All Members : 1 ([10.20.178.123:1199])
09:50:45,081 INFO  [HANamingService] Started ha-jndi bootstrap jnpPort=1200, 
backlog=50, bindAddress=/0.0.0.0

Why do i still get this message?

Another problem is that i can't shutdown the node, it keeps repeating the 
message regarding the handleJoin? I use windowsXP so i use CTRL-C to quit.

JBoss version: 4.0.2

Thanks,
Maarten

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936806#3936806

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936806


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Deploying Multiple application in the same server

2006-04-12 Thread jbaiju
Hi,

We have a deployement time classloader issue. We need to deploy to more than on 
application into the same jboss server one is web application and the other one 
is an EAR. the deployement structure of the EAR is 
+ myapp1.ear
   -META-INF/ -- application.xml and MANIFEST.MF 
   - config/ --- We are keeping all application related configuration files
   - lib/ ---We are  keeping all my libirary files
   + myapp1.jar
  -- all my classes 
  -META-INF/MANIFEST.MF -- in the manifest file i am including the   
  classpath for the 
libiraries(through 
   build.xml )


  

   + myapp1.war
 -- all my wep application files
META-INF/MANIFEST.MF -- in the manifest file i am including the   
  classpath for the 
libiraries(through 
   build.xml )


  


If we  deploy this application alone it is working fine. 
Our second application is an web application 
the structure of the application is
+ mywebapp.war
  -config/ all my config file
   -- All my jsp files
   -WEB-INF/lib/ -- all my libirary files

both the application having MyFramework.jar, it having a Controller servlet 
which is loaded on startup, but at the time of deploying the second application 
the this servlet is not get loaded, while accessing the second application it 
pointing to the same configuration file of the first application


* We developed an MVC framework for our application 
* It uses a singleton class to read the configuration details, the 
configuration file is readed using the following 
 InputStream in = getClass().getResourceAsStream(/config/+propertyFileName);


* iset the unified class loaded false in jboss-service.xml

please help me how to solve this 


 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936807#3936807

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936807


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Advanced query (help needed)

2006-04-12 Thread mirko27
My mappings:
Category has products and parameters.
Every Product has parameter entries(entry) and entry has parameter.
Basically I need to query out those parameters in the group that products has 
no entry for yet. Tried different versions but none got me further.

My current version:
List listItems = em.createQuery(
from Parameter p join p.category c join c.products k join k.entries e  
where k.name = :product +
 and  e.parameter != p order by 
p.priority).setParameter(product,product).getResultList();


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936808#3936808

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936808


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Deploying Multiple application in the same server

2006-04-12 Thread jaikiran
Classloading issues are explained here:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases

http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936809#3936809

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936809


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Automatically Generating Keys

2006-04-12 Thread didi
if you use EJB3.0 its just as simple as putting the following annotations above 
the primary key:
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936812#3936812

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936812


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: to upload a file with seam - do i extend SeamServletFilt

2006-04-12 Thread uhyonc
You might want to check out

http://www.onjava.com/pub/a/onjava/2005/07/13/jsfupload.html

I just recently tried file uploading, and it worked fine. The only issue you'll 
come across is with classloading issues.
If you're using tomahawk, then you have to either
1) put the tomahawk.jar in jsf-libs (under tomcatXXX.sar) 
2) put tomhawk.jar in ear and reference it using Class-Path: in the MANIFEST 
file (of EJB jar)
3) put it in WEB-INF/lib and create a separate bean in the web portion (which 
means the code that goes under WEB-INF/classes or WEB-INF/lib).

Main reason is that the EJB code cannot (and probably should not) access the 
org.apache.myfaces.custom.fileupload.UploadedFile unless you specifically make 
it visible.

FYI :

  | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f%
  | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h%
  | %@ taglib uri=http://myfaces.apache.org/extensions; prefix=x%
  | 
  | f:view
  | 
  | h:form id=MyForm enctype=multipart/form-data 
  | ...
  | x:inputFileUpload id=myFileId
  | value=#{myBean.myFile}
  | storage=file
  | required=true/
  | ...
  | /h:form
  | 
  | /f:view
  | 
  | 
  | import org.apache.myfaces.custom.fileupload.UploadedFile;
  | ...
  | public class MyBean {
  | private UploadedFile myFile;
  | 
  | public UploadedFile getMyFile() {
  | return myFile;
  | }
  | 
  | public void setMyFile(UploadedFile myFile) {
  | this.myFile = myFile;
  | }
  | ...
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936813#3936813

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936813


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Converting from EJB collections to JSF models -- techniq

2006-04-12 Thread perwik
Would you like to post your functions somewhere for the rest of us to have a 
look at them? I'm sure you could make a page about it in the seam wiki for 
example.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936814#3936814

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936814


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Using hibernate validator.

2006-04-12 Thread [EMAIL PROTECTED]
mirko27 wrote : We promise to write tutorial for all others out of our 
expierience.

Where is it ? ;)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936815#3936815

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936815


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: SSL between apache with mod_jk+mod_ssl and JBoss 3.2.5 w

2006-04-12 Thread littlefish
HI somebody told me that using stunnel to do the encryption between Apache 
and JBoss with clustering, but i still haven't test it.

http://www.stunnel.org

anybody try it before?




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936816#3936816

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936816


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Migrating application from JRun to JBoss

2006-04-12 Thread macmeureg
I got an application which runs on JRun (I didn't write it, so I don't know how 
it works). Now I want to put the application on a JBoss server.
I created the war-file and addes the needed jar-files
Now I got problems to start the Jboss server. Are there still other points to 
look after when migrating an application? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936817#3936817

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936817


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS performances versus other JavaEE Application Ser

2006-04-12 Thread hbraun
JBossWS approaches 1.0.0 GA, which does focus on feature enhancements and bug 
squashing. Subsequent releases will care about  performance issues. 

We do have a regression test suite in place that will cover the 1.0.0 release, 
however it's more concerned about sanity checks then benchmarking:

http://jira.jboss.org/jira/browse/JBWS-75

The problem you described is covered by the 'getOrder' usecase, which returns 
large arrays of complex types. Our prelimenary tests confirm that there is a 
definite bottleneck.

Contributions, however, that improve performance are more then welcome.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936818#3936818

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936818


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: JBossWS not thread safe

2006-04-12 Thread hbraun
It's already resolved for 1.0.0:
http://jira.jboss.org/jira/browse/JBWS-789

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936819#3936819

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936819


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - compensating methods for long runnig executions

2006-04-12 Thread idyuce
Hi everybody,
Did anynone implement any compensating method or approach using JBPM while 
developing applications for long running process blocks or executions? i mean 
undoing operations executed before any error met while executing process.  
if somebody did it, i will appreciate if he/she shares ideas with us.
BTW, i am not asking classical rolling back transactions for two pahse commit 
cases on short running blocks or executions. 

thanks.




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936820#3936820

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936820


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to let process stay in node

2006-04-12 Thread [EMAIL PROTECTED]
johan wrote : You can let me worry about the inconsistency:-) 
  | The main thing for me is that the program sending the signals should not 
care whether it is sending the signal to the main process or the sub-process.
You *have* to communicate the id of the processinstance or the id of the token 
you want to signal to jBPM. This id must be available to the client program 
doing this signal in the first place. I don't see any difference in providing 
the id of the 'master' process as opposed to providing the id of a 'sub' 
process. For the client program this should be totally transparent.
 
johan wrote : Are you saying I should write my own custom version of a 
process-state?
Exactly. The whole idea behind jPDL and jBPM is that we cannot provide all the 
constructs to satisfy all the process analists in the world. You can always 
plug the node in the GPD afterwards. There are extension points for doing this.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936821#3936821

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936821


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Hinder JBoss trying to create tables in PAR

2006-04-12 Thread marcwimmer
Hi there,

I have a simple par-class. When I startup JBoss, JBoss tries to create the 
table the par-class represents. How can I avoid that?
At the moment I changed the owner of the table, so that JBoss cannot destroy or 
create the table.

Thanks for your replies,
Marc

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936823#3936823

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936823


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - remote interface and home interface in JBoss Eclipse Tutoria

2006-04-12 Thread xiaofn
I use JBoss4.0/Eclipse 3.2/JDK6.0
I tried Interface configuration on procedure 5.8, when I add the remote 
interfaces and home interfaces, there're no value to set? Ater that, click OK 
and Run XDocklet, but no remote interface and home interface created as the 
figure showed. What's the problem? Need your help.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936825#3936825

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936825


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Help configuring jUDDI for JBoss

2006-04-12 Thread nslyv
I'm using:
Windows server 2003
JBossportal 2.2.1RC2-bundled
JRE 1.5
EJB 3.0
MySQL 4.1

So far everything works fine. I've created some sample EJBs and portlets and 
they all deployed and worked fine. I'm now trying to setup  Apache jUDDI as the 
UDDI registry in JBoss. jUDDI didn't come with my JBossportal bundle; I took it 
from the all folder off the standalone JBoss 4.0.3SP1. It was already 
configured as per http://wiki.jboss.org/wiki/Wiki.jsp?page=JUDDIConfiguration. 

Launching JBoss, there were no errors. Going to http://localhost:8080/juddi/ 
yielded 3 fields with the values: filename, size and last modified with no 
entries for those fields. From that, I assume that jUDDI has successfully 
been deployed but no tables/entries have been made into the Database?

Is there a file I failed to configure or bring over from the JBoss 4.0.3SP1 
standalone? Any help would be much appreciated!

Just in case, this is what my jboss-service.xml under meta-inf looks like:

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE server
  | server
  | 
  |   !-- The juddi service configration --
  |   mbean code=org.jboss.jaxr.juddi.JUDDIService
  | name=jboss:service=juddi
  |  !-- Whether we want to run the db initialization scripts --
  |  !-- Should all tables be created on Start--
  |  attribute name=CreateOnStarttrue/attribute
  |   !-- Should all tables be dropped on Stop--
  |  attribute name=DropOnStoptrue/attribute
  |   !-- Should all tables be dropped on Start--
  |  attribute name=DropOnStartfalse/attribute
  |   !-- Datasource to Database--
  |  attribute name=DataSourceUrljava:/DefaultDS/attribute
  |   !-- Alias to the registry--
  |  attribute name=RegistryOperatorRegistryOperator/attribute
  |   !-- Should I bind a Context to which JaxrConnectionFactory bound--
  |  attribute name=ShouldBindJaxrtrue/attribute
  |!-- Context to which JaxrConnectionFactory to bind to.
  |If you have remote clients, please bind it to the global
  |   namespace(default behavior). To just cater to clients running
  |   on the same VM as JBoss, change to java:/JAXR --
  |  attribute name=BindJaxrJAXR/attribute
  |  attribute name=DropDBfalse/attribute 
  |  dependsjboss.jca:service=DataSourceBinding,name=DefaultDS/depends
  |   /mbean
  | /server
  | 

I've tried both true and false for the 'CreateOnStart' attribute.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936826#3936826

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936826


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to let process stay in node

2006-04-12 Thread hoogenbj
Koen wrote:anonymous wrote : For the client program this should be totally 
transparent.
Koen, I'm sure you'll agree with me that the sub process in the following code 
is not transparent to the client program at all:ProcessInstance pi = 
jbpmContext.newProcessInstanceForUpdate(super);
  | pi.signal(with subprocess);
  | 
  | ProcessInstance subPi = pi.getRootToken().getSubProcessInstance();
  | assertEquals(wait, subPi.getRootToken().getNode().getName());
  | 
  | newTransaction();
  | 
  | subPi = jbpmContext.loadProcessInstanceForUpdate(subPi.getId());
  | subPi.signal();
Koen wrote:anonymous wrote : You *have* to communicate the id of the 
processinstance or the id of the token you want to signal to jBPM.
There's no disputing that. However I see no reason why I shouldn't be able to 
keep signalling the main process and rely on some 
custom-or-maybe-not-custom-newfangled-waiting-process-state-node to pass on the 
signal to the sub-process(es) until those are done and then allow the token to 
move on to the next process node in the main process. Voila! There's your 
transparency. But hey, we don't have to argue anymore about this. I still love 
jBPM.

On the writing a custom node bit: you make it sound so easy :-) Any chance of 
an  example somewhere?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936828#3936828

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936828


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Need help with EJB3 and jBPM 3.1 transactions on JBoss 4

2006-04-12 Thread [EMAIL PROTECTED]
I suspect that is the problem yes... but I am not sure of course.

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936834#3936834

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936834


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - ClassCastException after lookup

2006-04-12 Thread candychow
Hello all,

I am getting start to EJB 3.0 with a HelloWorld, but I got the following 
exception:
java.lang.ClassCastException: org.jnp.interfaces.NamingContext

I am using NetBeans 5.5 Preview, JBoss 4.0.4.CR2 with EJB3.

Here is my HelloWorldBean:


  | package hi;
  | 
  | import javax.ejb.Stateless;
  | 
  | @Stateless(name=HelloWorld)
  | public class HelloWorldBean implements HelloWorldRemote {
  |   public String sayHi (){
  | return Hello world!;
  | }
  | }
  | 

Here is my HelloWorldRemote:


  | package hi;
  | 
  | import javax.ejb.Remote;
  | 
  | @Remote
  | public interface HelloWorldRemote {
  | public String sayHi ();
  | }
  | 

And then I get the Remote by this:


  | Properties props = new Properties();
  | props.setProperty(java.naming.factory.initial, 
org.jnp.interfaces.NamingContextFactory);
  | props.setProperty(java.naming.provider.url, new 
String(jnp://localhost:1099));
  | props.setProperty(java.naming.factory.url.pkgs, 
org.jboss.naming:org.jnp.interfaces);
  | InitialContext context = new InitialContext(props);
  | hello = (HelloWorldRemote) context.lookup(HelloWorld);
  | 

I got the exception when i cast the object to HelloWorldRemote after lookup.

What is the problem with my code? How should I get the Remote correctly?

Please help. Thanks!!

Regards,
Candy

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936835#3936835

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936835


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: EB CMP / Exception intercepted by the container

2006-04-12 Thread mhilberink
Hey,
I have the same problem, I cannot catch the exception thrown by a primary key 
violation. 

Does anybody have a solution? 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936836#3936836

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936836


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Jboss portal how to?

2006-04-12 Thread wondog
Hi, i am new in JBoss and portal, but i have experience with Tomcat.
I want to setup Portal with my JBoss

I have installed Jboss a i downloaded portal package.

i went through user guide for Portal,
i copied jboss-portal.sar dir and portal-mysql-ds.xml  file to:
C:\Program Files\jboss-4.0.3SP1\server\default\deploy\

My Mysql is running and i create database jbossportal
i have also jdbc driver in jboss lib dir

portal-mysql-ds.xml:
?xml version=1.0 encoding=UTF-8?

  local-tx-datasource
jndi-namePortalDS/jndi-name
connection-urljdbc:mysql://localhost:3306/jbossportal/connection-url
driver-classcom.mysql.jdbc.Driver/driver-class
user-nameroot/user-name

  /local-tx-datasource


but when i try 1217.0.0.1:8080/portal

this is shown:
HTTP Status 404 -

type Status report

message

description The requested resource () is not available.

what's wrong with my way?
or where is good tutorial for newbie?
thx


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936837#3936837

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936837


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Using hibernate validator.

2006-04-12 Thread mirko27
We`re working on it just now :) Much of work is done, but lots of to do more. 
IT´s VERY HARD to code if you get all the time JTA TRansaction errors( i opened 
a thread in the start of the week). This some times goes so insane that you 
can`t do anything.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936838#3936838

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936838


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Jboss portal how to?

2006-04-12 Thread wondog
And one more thing - i restarted jboss after that

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936839#3936839

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936839


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Dependecy Injection in JMX Service Object

2006-04-12 Thread echon
Hi,

is it a bug that Injections in JMX Service Objects are bound not until the
LifeCycle method start() is executed? This behaviour is new since CR2.
While proceeding the create() and start() method the EntityManager injected by

  | @PersistenceContext(unitName = myEM) protected EntityManager em;
  | 
em is null, but when calling a method after the start of the Service it is 
available.
I compared org.jboss.system.ServiceController from RC1 and CR2, but there are 
no changes, which would affect this behaviour.

Someone has an idea what changes affected this?



Regards

Peter

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936840#3936840

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936840


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Session is not getting replicated on JBoss-4.0.2

2006-04-12 Thread [EMAIL PROTECTED]
Thanks Brian

Thanks for replying.

But my session is still not getting replicated.When I shutdown the server which 
is handling the request then my application asks me to login again.

Can you suggest me something else. What should I do?

Waiting for ur reply.

Thanks in advance.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936841#3936841

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936841


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Flush needed after JDBCExceptionReporter JDBC commit failed

2006-04-12 Thread werner.frerichs
I get the following message several times a week:

2006-04-12 12:16:34,964 WARN  [org.hibernate.util.JDBCExceptionReporter] SQL 
Error: -708, SQLState: 08000
2006-04-12 12:16:34,965 ERROR [org.hibernate.util.JDBCExceptionReporter] [-708] 
Data receive failed.
2006-04-12 12:16:34,987 ERROR [org.hibernate.transaction.JDBCTransaction] JDBC 
commit failed
com.sap.dbtech.jdbc.exceptions.ConnectionException: [-708] Could not send data. 
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:554)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:434)
at 
com.sap.dbtech.jdbc.ConnectionSapDB.executeSQLString(ConnectionSapDB.java:589)
at com.sap.dbtech.jdbc.ConnectionSapDB.commit(ConnectionSapDB.java:216)
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:436)
at 
org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:331)
at 
org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:139)
at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:115)
at gribupload.web.webwork.action.GribuploadAction.doExecute(Unknown 
Source)
...

At the same time the logmessages from our Databaseserver show:
...
2006-04-12 12:15:14 24 WNG 11824 COMMUNIC Releasing T227 command timeout 
2006-04-12 12:15:14 24 12929 TASKING Task T227 started 
2006-04-12 12:15:14 24 11007 COMMUNIC wait for connection T227
...

After this hibernate cannot receive/write to the database any more until I 
flush the ManagedConnectionPool using JBoss web-console.
The available connections count shown in the JBoss web-console show only a few 
connections in use and many possible connections left for use.

I cannot reproduce this starting several parallel connections to stress the 
Applicationserver.

How can I find out what is going wrong. I am using JBoss 4.0.3SP1 and MaxDB 
7.6.0 .

Thanks 
Werner Frerichs



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936842#3936842

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936842


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Jboss portal how to?

2006-04-12 Thread [EMAIL PROTECTED]
Check the logs something obviously went wrong

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936843#3936843

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936843


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Dependecy Injection in JMX Service Object

2006-04-12 Thread echon
if a datasource is not injected it's not a problem, because i can get it from 
JNDI, but how can i get the EntityManager (peristence unit already created)?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936844#3936844

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936844


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Jboss portal how to?

2006-04-12 Thread wondog
There is somthing from error log:
ERROR [org.jboss.portal.core.CoreController] Object not found
org.jboss.portal.core.ObjectNotFoundException: Not allowed to access 
resourceDefault context does not exist
at 
org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy50.doMapping(Unknown Source)
at org.jboss.portal.core.CoreController.handle(CoreController.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
at $Proxy115.handle(Unknown Source)
at 
org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
at 
org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
at 
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
at 

[JBoss-user] [EJB 3.0] - Re: ClassCastException after lookup

2006-04-12 Thread echon
I would say one problem is the JNDI-Binding you do not specify.

By standard the JNDI-Binding names are
EAR-FILE-BASE-NAME/EJB-CLASS-NAME/local,
EAR-FILE-BASE-NAME/EJB-CLASS-NAME/remote,
EJB-CLASS-NAME/local, EJB-CLASS-NAME/remote

or you specify them
 
  | @Remote( { HelloWorldServiceRemote.class })
  | @RemoteBinding(jndiBinding = HelloWorldServiceRemote.JNDI)
  | 

and in the interface


  | public interface HelloWorldServiceRemote {
  | 
  | public final static String JNDI = 
de.tum.sebis.dbis.service.HelloWorldServiceRemote;
  | 
  | public String getHelloWorld();
  | 
  | }
  | 


The other problem are missing jars in your classpath for your client.


Regards 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936846#3936846

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936846


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Hinder JBoss trying to create tables in PAR

2006-04-12 Thread echon
if you do not want that JBoss create and drop tables every time your par is 
deployed/undeployed you have to change the property hibernate.hbm2ddl.auto in 
your persistence.xml.

Possible values are: validate | update | create | create-drop

The remcommended value is update, which has the same effect as create, but 
your entries won't disapear ;)

But you can not completly avoid that the table is created or updated when the 
par-archive is deployed (loaded) as far as i know.

Regards

Peter

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936847#3936847

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936847


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-12 Thread echon
with 4.0.3SP1 use (EmployeeSessionLocal) 
context.lookup(EmployeeSessionLocal.class.getName()); 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936848#3936848

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936848


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Hinder JBoss trying to create tables in PAR

2006-04-12 Thread marcwimmer
Thank you very much!

Marc

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936849#3936849

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936849


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE Tutorial

2006-04-12 Thread [EMAIL PROTECTED]
critique is very welcome, and in short I can tell:

JBoss Eclipse IDE existed *before* WTP, thus there were no standard to use

We want to migrate to use (some) of the WTP, but noone has yet to 
work/contribute that (if it is important for you then please come by - we 
appreciate any contributions)

...and note, the xdoclet/ant based way of doing this *is* more complex, but 
actually allow more flexibility than the WTP based projects does (e.g. you 
don't *need* to have physical separate projects for ejb,webetc.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936850#3936850

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936850


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-12 Thread jllavina
Thank you echon for your suggestion, but it doesn't work.
(I have replaced the @Stateless(name=Employee) annotation with only 
@Stateless).

13:24:04,806 INFO  [STDOUT] javax.naming.NameNotFoundException: 
es.dbs.ysf.employee.EmployeeSessionLocal not bound
13:24:04,816 INFO  [STDOUT] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
13:24:04,816 INFO  [STDOUT] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
13:24:04,816 INFO  [STDOUT] at 
org.jnp.server.NamingServer.getObject(NamingServer.java:528)
13:24:04,816 INFO  [STDOUT] at 
org.jnp.server.NamingServer.lookup(NamingServer.java:281)
13:24:04,816 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
13:24:04,816 INFO  [STDOUT] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
13:24:04,816 INFO  [STDOUT] at 
javax.naming.InitialContext.lookup(InitialContext.java:351)
13:24:04,816 INFO  [STDOUT] at 
es.dbs.ysf.employee.Controller.doGet(Controller.java:28)

Perhaps if I use a remote interface instead of a local one.. no, it doesn't 
work either.

Nobody has an example? Please?

Thanks!
José Luis.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936851#3936851

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936851


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Number is first char in column name leads to error (MSSQL)

2006-04-12 Thread squishy
Hello,
I have to use an old and big database in my application and it is best if i 
don't change anything like column names and stuff.
Problem is, someone named a column 4_a_prinzip. Now if hibernate queries that 
table i get the following error:

Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC][SQLServer]Line 1: Incorrect syntax near '.4'.

in order to make it work the column name would have to be surrounded by [] 
ie
 select * from foo where foo.[4_a_prinzip] = 1 

is there a way to tell jboss to do so?

thanks in advance

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936852#3936852

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936852


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Need help with EJB3 and jBPM 3.1 transactions on JBoss 4

2006-04-12 Thread J.Hedin
I have checked the .jars. They only contains org.jbpm classes. Will a rebuild 
help then?

Should I have a reference to the EJB Hibernate Session factory for the 
jbpm-context?


  |jbpm-context
  | service name=persistence
  | factory
  | bean 
class=org.jbpm.persistence.db.DbPersistenceServiceFactory
  | field name=isTransactionEnabled
  | boolean value=false/
  | /field
  | /bean
  | /factory
  | /service
  | 
  | service name=message 
factory=org.jbpm.msg.db.DbMessageServiceFactory/
  | service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory/
  | service name=logging 
factory=org.jbpm.logging.db.DbLoggingServiceFactory/
  | service name=authentication 
factory=org.jbpm.security.authentication.DefaultAuthenticationServiceFactory/
  | /jbpm-context
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936853#3936853

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936853


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Passing data from Servlet to JSP page

2006-04-12 Thread dapissarenko
Hello!

I have a servlet EnterConstantServlet, which does some operation, which might 
fail. If that operation fails, I want that the user comes to a JSP page 
enterConstantFailed.jsp, where the error should be displayed.

If the operation completes successfully, the user should be redirected to JSP 
page enterConstantSuccess.jsp.

The servlet code is like shown below:


  | public class EnterConstantServlet extends HttpServlet {
  | private static final String SUCCESS_PAGE = enterConstantSuccess.jsp;
  | private static final String FAILURE_PAGE = enterConstantFailed.jsp;
  | private static final long serialVersionUID = 1L;
  | 
  | public EnterConstantServlet() {
  | super();
  | // TODO Auto-generated constructor stub
  | }
  | 
  | /**
  |  * @see 
javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, 
javax.servlet.http.HttpServletResponse)
  |  */
  | @Override
  | protected void doPost(HttpServletRequest req, HttpServletResponse resp) 
throws ServletException, IOException {
  | Exception2TextualStackTrace func=null;
  | PendingConstantHome home=null;
  | PendingConstant pendingConstant=null;
  | Context initial =null;
  | String constant=null;
  | Object objRef =null;
  | 
  | /**
  |  * fetch name of the constant
  |  */
  | constant=req.getParameter(constantName);
  | 
  | /**
  |  * save constant in OpenCyc as pending constant
  |  */
  | try
  | {
  | initial = new InitialContext();
  | 
  | objRef = initial.lookup(java:comp/env/ejb/SimpleRoster);
  | 
  | home = (PendingConstantHome)PortableRemoteObject.narrow(objRef, 
PendingConstantHome.class);
  | 
  | pendingConstant = home.create();
  | 
  | pendingConstant.setPendingConstantName(constant);
  | 
  | resp.sendRedirect(SUCCESS_PAGE);
  | }
  | catch (Exception exception)
  | {
  | func=new Exception2TextualStackTrace();
  | 
  | System.out.println(failure reason:  + 
func.evaluate(exception));
  | 
  | resp.addHeader(FAILURE_REASON, func.evaluate(exception));
  | resp.sendRedirect(FAILURE_PAGE);
  | }
  | }
  | }
  | 

Note: The return value of

func.evaluate(exception)

is not null. I see this in the log file of JBoss.

I have a problem - the failure reason (parameter FAILURE_REASON in the above 
code) is NOT displayed in enterConstantFailed.jsp.

enterConstantFailed.jsp looks like shown below:


  | ?xml version=1.0 encoding=UTF-8 ?
  | %--
  |   $Author: user $
  |   $Revision: 1.2 $
  |   $Date: 2006/04/11 20:51:35 $
  |   $Id: enterConstantFailed.jsp,v 1.2 2006/04/11 20:51:35 user Exp $
  |   $Log: enterConstantFailed.jsp,v $
  |   Revision 1.2  2006/04/11 20:51:35  user
  |   Added routine for displaying failure reason.
  | 
  |   Revision 1.1  2006/04/11 20:29:58  user
  |   Initial commit.
  | 
  | --%
  | %@ page language=java contentType=text/html; charset=UTF-8
  | pageEncoding=UTF-8%
  | %@ include file=header.jsp %
  | 
  | h1? ?? ??? ? ?/h1
  | p? ??  ./p
  | pre%= 
request.getParameter(intranet.dapissarenko.com.WriteImageServlet.FAILURE_REASON)
 %/pre
  | 
  | %@ include file=footer.jsp %
  | 

What should I do in order for the failure reason to be displayed in 
enterConstantFailed.jsp?

Thanks in advance

Dmitri Pissarenko

PS: This is the code of header.jsp:

  | ?xml version=1.0 encoding=UTF-8 ?
  | !--
  |   $Author: user $
  |   $Revision: 1.2 $
  |   $Date: 2006/04/04 21:39:40 $
  |   $Id: header.jsp,v 1.2 2006/04/04 21:39:40 user Exp $
  |   $Log: header.jsp,v $
  |   Revision 1.2  2006/04/04 21:39:40  user
  |   Added link to sanSanych.jsp.
  | 
  |   Revision 1.1  2006/04/02 22:56:57  user
  |   Initial commit.
  | 
  | --
  | %@ page language=java contentType=text/html; charset=UTF-8
  | pageEncoding=UTF-8%
  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml; xml:lang=ru lang=ru-RU
  |   head
  | meta http-equiv=content-type content=application/xhtml+xml; 
charset=UTF-8 /
  | meta name=author content=haran /
  | meta name=generator content=haran /
  | 
  | link rel=stylesheet type=text/css href=prosimii-screen.css 
media=screen, tv, projection title=Default /
  | link rel=stylesheet alternative type=text/css 
href=prosimii-print.css media=screen title=Print Preview /
  | link rel=stylesheet type=text/css href=prosimii-print.css 
media=print /
  | 
  | title?? 

[JBoss-user] [JBoss jBPM] - Re: Need help with EJB3 and jBPM 3.1 transactions on JBoss 4

2006-04-12 Thread [EMAIL PROTECTED]
A rebuild will probably help. The problem is that there might be binary 
incompatibilities with the libraries of the JBoss AS 4.0.4 branch. 

Regards,
Koen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936855#3936855

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936855


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: generating seam files with hibernate tools prob.

2006-04-12 Thread [EMAIL PROTECTED]
why do you think you don't use the connection details ?

And if you are using ejb3/annotaiton constructs then you will need to enable 
ejb3/annotation for your console configuration.

double click it and click the ejb3/annotation checkbox.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936856#3936856

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936856


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Need help with EJB3 and jBPM 3.1 transactions on JBoss 4

2006-04-12 Thread J.Hedin
Found it! jBPM worked all the time.

The second SLSB did throw a  org.hibernate.HibernateException. Since that did 
mark the transaction for rollback org.jbpm.graph.def.Node.exceptionHandlers 
could not be executed and gave the org.jbpm.graph.def.DelegationException 
exception caused by the terminated Hibernate session instead of the exception 
thrown by the SLSB.

Not a bug, but a would suggest an enhancement to jBPM that shows the original 
exception as well in case that org.jbpm.graph.def.Node.exceptionHandlers could 
no be run.

Thanks for the quick help and keep up the good work!

Best regards
Johan Hedin

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936857#3936857

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936857


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Entity Manager is null in session bean (jboss 4.0.4 CR2)

2006-04-12 Thread gvl
I am  trying to use jboss 4.0.4CR2 with the ejb3 option but at the moment
when I try to use an EntityManager from within my session bean the entity
manager is always null.

I have a stateless session bean where I load the entity manager:


  | @Stateless
  | public class CategorySessionBean implements CategoryView {
  | @PersistenceContext(unitName = inventPU)
  | protected EntityManager manager;
  | 
  | ...
  | public load(){
  | //HERE THE manager is NULL
  |Query q = manager.createQuery(FROM Category);
  | }
  | ...
  | }
  | 

I am deploying the application in an ear with the following structure:
invent.ear

  | ...|-META-INF
  | ...|-META-INF|-application.xml
  | ...|-invent.par
  | ...|-invent.war
  | 

application.xml:

  | application
  | display-nameinvent/display-name
  | module
  | web
  | web-uriinvent.war/web-uri
  | context-root/invent/context-root
  | /web
  | /module
  | module
  | ejbinvent.par/ejb
  | /module
  | /application
  | 

invent.par:

  | ...|-META-INF
  | ...|-META-INF|-persistence.xml
  | ...|-gr (the entity and session beans)
  | 

persistence.xml

  | ?xml version=1.0 encoding=UTF-8?
  | persistence
  | persistence-unit name=inventPU
  | description AEGEK invent pesrsistent unit/description
  | jta-data-sourcejava:/inventDS/jta-data-source
  | properties
  | property name=hibernate.dialect 
value=org.hibernate.dialect.MySQLInnoDBDialect/
  | property name=hibernate.hbm2ddl.auto value=create/
  | /properties
  | /persistence-unit
  | /persistence
  | 

invent.war:
(jsp and other web related stuff)


HELP!
Thanx ...


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936858#3936858

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936858


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Life cycle of Root Token

2006-04-12 Thread michaelholtzman
Greetings. We have the need to attach descriptive information to a process 
instance that is always available for the life of the process instance. My 
first thought is to add a comment to the root token immediately after creating 
the process instance.

Is the root token guaranteed to exist for the life of the instance? Or is it 
possible to kill the root token and continue the process instance with only 
child tokens? 

Thanx.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936859#3936859

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936859


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal and MyFacesGenericPortlet

2006-04-12 Thread Amgad
Me too I am having a similar problem :

  | javax.portlet.PortletException
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:257)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFacesGenericPortlet.java:233)
  | at 
com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:88)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  | at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  | at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:297)
  | at 
com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:144)
  | at 
com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:231)
  | at 
com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:249)
  | at 
com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
  | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
  | at 
com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:183)
  | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  | at 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:426)
  | at 
com.liferay.portal.servlet.MainServlet.service(MainServlet.java:830)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:94)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:134)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:116)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 

[JBoss-user] [JBoss Portal] - Re: JBoss Portal and MyFacesGenericPortlet

2006-04-12 Thread [EMAIL PROTECTED]
yes but you posted in the wrong forum...

Amgad wrote : Me too I am having a similar problem :
  | 
  |   | javax.portlet.PortletException
  |   | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:257)
  |   | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFacesGenericPortlet.java:233)
  |   | at 
com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:88)
  |   | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  |   | at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  |   | at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
  |   | at 
com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:297)
  |   | at 
com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:144)
  |   | at 
com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:231)
  |   | at 
com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:249)
  |   | at 
com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
  |   | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
  |   | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
  |   | at 
com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:183)
  |   | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  |   | at 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  |   | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  |   | at 
com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:426)
  |   | at 
com.liferay.portal.servlet.MainServlet.service(MainServlet.java:830)
  |   | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   | at 
com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:94)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   | at 
com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:134)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   | at 
com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:116)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |   | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |   | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |   | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |   | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  |   | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
  |   | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
  |   | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  |   | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |   | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |   | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |   | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
 

[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-12 Thread jllavina
I have installed jboss-4.0.4.CR2 but the same problem persists.

I don't know why... it seems that the deployment works fine, but when I trying 
to access to the local EJB3 from my Servlet the JNDI doesn't find it... :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936862#3936862

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936862


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-12 Thread jllavina
Using this code it seems that the JNDI founds the EJB3 (but crash searching a 
resource, but this is another story...):

import org.jboss.annotation.ejb.LocalBinding;

@Stateless
@Local( { EmployeeSessionLocal.class } )
@LocalBinding( jndiBinding=Employee )

How can I define the jndiBinding without using a jboss especific class like 
'org.jboss.annotation.ejb.LocalBinding'?

Thanks!
José Luis.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936865#3936865

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936865


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: ManagedConnectionFactory NOTYETINSTALLED

2006-04-12 Thread frank_ulbricht
I'v found the problem myself. In my persistence group description I used

jta-data-sourceDefaultDS/jta-data-source

When I change this to

jta-data-sourcejava:/DefaultDS/jta-data-source

it works fine.

Regards,
Frank

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936866#3936866

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936866


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - MBean as NotificationBroadcaster

2006-04-12 Thread ghilling
Hello,

I'm just playing around a little with ejb3 and I'm trying to build an MBean 
with Notification Support.

I thought it should be enough to declare interface as NotificationBroadcaster 
(as I did) and use NotificationBroadcasterSupport as base class for the 
implementation but when I try to register a notification listener I get an

The MBean named exists but does not implement the NotificationBroadcaster 
interface.

Is this just not possible without writing deployment descriptors (old style) or 
am I getting something wrong (some extra annotation perhaps?).

Regards,

-Gunnar


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936867#3936867

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936867


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - The correct entry for jbosscmp-jdbc.xml

2006-04-12 Thread urswag
What ist the correct entry in jbosscmp-jdbc.xml this ejb-jar.xml entry?
The table addresslocals of the entity bean AddressEJB has primary key 
addressejb_upk.
The table contactinfolocals of the entity bean ContactInfoEJB has primary key 
ContactInfoEJB_upk and foreing key address.
A always get the error 

  | ole 'AddressEJB-BelongsTo-ContactInfoEJB' on Entity Bean 'ContactInfoEJB' : 
CMP field for key not found: field name='address'
  | 


  | 
  | ejb-relation
  | 
  | 
ejb-relation-nameContactInfoEJB-AddressEJB/ejb-relation-name
  | ejb-relationship-role
  | 
ejb-relationship-role-nameAddressEJB-BelongsTo-ContactInfoEJB/ejb-relationship-role-name
 
  | multiplicityOne/multiplicity
  | relationship-role-source
  | ejb-nameContactInfoEJB/ejb-name
  | /relationship-role-source
  | cmr-field
  | cmr-field-nameaddress/cmr-field-name
  | /cmr-field
  | /ejb-relationship-role
  | ejb-relationship-role
  | 
ejb-relationship-role-nameAddressEJB-HasNo-ContactInfoEJB/ejb-relationship-role-name
 
  | multiplicityOne/multiplicity
  | relationship-role-source
  | ejb-nameAddressEJB/ejb-name
  | /relationship-role-source
  | /ejb-relationship-role
  | 
  | /ejb-relation
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936868#3936868

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936868


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Monitoring in session facade

2006-04-12 Thread abv
Hi

I've a deep session facade in my application. I want to monitor the activities 
in my app from the first session call (done by the client) until this call is 
finished. The problem is that there are many parallel calls so I need some 
criteria to separate my log infos. Is there such a criteria that is unique for 
a special client call? (perhaps a session id or a transaction id) I use only 
CMP.

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936869#3936869

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936869


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: generating seam files with hibernate tools prob.

2006-04-12 Thread DoubleDenim
i figured that i didn't need the connection details in the session factory 
section if i was only going to be creating seam code from existing ejb3 
entities. I could be wrong on this.

I've got the Enable hibernate ejb3/annotations checkbox ticked. That doesn't 
seem to be the problem.

In my console I've got no properties file set and no Entity resolver set. Nor 
do I have any mapping files set. In the classpath section i've got the path to 
my pojo classes and the mysql j connector.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936870#3936870

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936870


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EJB 2.1 and CLOB

2006-04-12 Thread ples
Hello 
I have some troubles with Oracle CLOB field
In me CMP Bean I user String for mapping CLOB field in my database.
When I set data with string its work fine on insert but when I try gets data 
its returns null
When I set in my mapping file that this field is CLOB JBoss does not work with 
inserts but begin return values 
Is this bug or not?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936873#3936873

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936873


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Monitoring in session facade

2006-04-12 Thread schrouf
You can configure log4j with a %t pattern tag to include the thread ID within 
the log output. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936874#3936874

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936874


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - HibernateFactory not bound!

2006-04-12 Thread vadimv1982
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailinglists/HowToAskForHelp

Hibernate version:3.0.5

Mapping documents: turundaja-hibernate.sar

I use Jboss 4.0. and Postresql.

I have such a problem that i need to run that application under new server and 
it is workin ok on the old one.
It seems to deploy ok. But when i try to login into that application i get some 
problem with security module or smth, may be it is Jaas problem.

javax.security.auth.login.LoginException: java.lang.ExceptionInInitializerError
at ee.mobi.congam.DAOFactory.getUserDAO(DAOFactory.java:37)
at ee.mobi.congam.auth.DBLoginModule.validate(DBLoginModule.java:352)
at ee.mobi.congam.auth.DBLoginModule.login(DBLoginModule.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)

blabla

Caused by: ee.mobi.congam.ConGamException: Exception initialling DAO: HibernateF
actory not bound
at ee.mobi.congam.DAO.(DAO.java:45)
... 54 more

at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
86)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:6
80)
bla bla bla

So i decided to deploy just one .sar and see what happens and get it while 
deploying:

16:21:39,812 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.jca:service=HibernateFactory,name=HibernateFactory
state: CONFIGURED
I Depend On: jboss.jca:service=RARDeployer
jboss.jca:service=LocalTxCM,name=jdbc/psql/turundaja

Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.jca:service=LocalTxCM,name=jdbc/psql/turundaja
state: NOTYETINSTALLED
I Depend On:
Depends On Me: jboss.jca:service=HibernateFactory,name=HibernateFactory

Here is part of postgres-ds.xml:

local-tx-datasource
jndi-name/jdbc/psql/turundaja/jndi-name
connection-urljdbc:postgresql://localhost:5432/turundaja/connection-url
driver-classorg.postgresql.Driver/driver-class
user-nameturundaja/user-name

/local-tx-datasource

Here is jboss-service.xml

?xml version=1.0?




!-- Required services --
jboss.jca:service=RARDeployer
jboss.jca:service=LocalTxCM,name=jdbc/psql/turundaja

!-- Bind the Hibernate service to JNDI --
java:/HibernateFactory

!-- Datasource settings --
java:/jdbc/psql/turundaja
org.hibernate.dialect.PostgreSQLDialect

!-- Transaction integration --

org.hibernate.transaction.JTATransactionFactory

org.hibernate.transaction.JBossTransactionManagerLookup
true
true

!-- Fetching options --
5

!-- Second-level caching --
true
org.hibernate.cache.EhCacheProvider
true

!-- Logging --
true

!-- Mapping files --
 ...mappings, xmls






View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936875#3936875

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936875


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Accessing an EJB from a Servlet

2006-04-12 Thread osterday
I haven't had any luck using the class.getName() lookup either.  The only way I 
got it to work is using sm = (SiteManager)ic.lookup(SiteManagerImpl/local); - 
which I can see in the Global JNDI Namespace.  (ic being my InitialContext 
variable, SiteManager being the stateless session bean interface, and 
SiteManagerImpl being the implementation.)  In the EJB3Trail sample app, this 
is how they are doing it in the JSPs.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936876#3936876

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936876


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - How to connect Tomcat with JBoss?

2006-04-12 Thread oassisBoss
please help.

when i try to access a servlet 
i have this this excpetion :

  | java.lang.NoClassDefFoundError: 
org/jboss/tm/TransactionPropagationContextUtil
  | 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.getTransactionPropagationContext(JRMPInvokerProxy.java:92)
  | 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:109)
  | 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
  | 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
  | 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  | org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
  | org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  | $Proxy2.create(Unknown Source)
  | 

what i have to do?

thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936877#3936877

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936877


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Entity Manager is null in session bean (jboss 4.0.4 CR2)

2006-04-12 Thread gvl
Actually 

 just found the problem: it was in the way I was calling the session bean from 
the web page.

;-)

--


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936880#3936880

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936880


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-12 Thread fptoth
Hi,

Sorry, I missed that in your first post.

I am curious (I'm a beginner) as to why a timer wouldn't work for you.

Thanks,

Fred


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936882#3936882

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936882


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - How to connect JBoss with Tomcat?

2006-04-12 Thread oassisBoss
please help.

when i try to access a servlet
i have this this excpetion :


  | java.lang.NoClassDefFoundError: 
org/jboss/tm/TransactionPropagationContextUtil
  | 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.getTransactionPropagationContext(JRMPInvokerP
  | roxy.java:92)
  | 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:109)
  | 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
  | 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
  | 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  | org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
  | org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  | $Proxy2.create(Unknown Source)


what i have to do?

thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936883#3936883

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936883


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Problem with getVariable

2006-04-12 Thread soennichsen
Hi,

I'm having a problem when trying to read a process variable within a 
taskinstance.

The variable is set right after process instantiation:

ProcessInstance processInstance = jbpmContext.loadProcessInstance(processId);
  | ContextInstance contextInstance = processInstance.getContextInstance();
  | Activity activity = new Activity();
  | contextInstance.setVariable(init_arg, activity );

Here is the code to get the Variable within the TaskInstance:

ContextInstance contextInstance = taskInstance.getContextInstance();
  | Activity activity = (Activity) contextInstance.getVariable(init_arg);

When I try to read it in a TaskInstance, I get a org.jbpm.JbpmException: 
couldn't deserialize object


Any ideas or hints?

Regards,
Sven


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936884#3936884

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936884


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Diferent LoginModules for diferent Portals

2006-04-12 Thread patrickdalla
Is it possible to configure diferent login-modules for diferent portals?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936885#3936885

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936885


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam + Portal

2006-04-12 Thread [EMAIL PROTECTED]
I have committed the docs on how to deploy the example. 

Important to note my comments on the manual configuration needed after using 
the installer: http://jira.jboss.com/jira/browse/JBAS-3069

This issue is being addressed.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936887#3936887

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936887


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Messaging] - Re: Problem with JBoss Messaging installation

2006-04-12 Thread korg
Sorry guys for not responding to your questions about my original concern, but 
I was out of office, so it gone out of my mind.  But another user explained 
exactly the procedure I followed and it seems to have done the job so ovidiu 
found what the problem was.  I'll wait for the next release and try it when 
available.


Thx for help, hope to be able to use JBoss Messaging soon.
Korg

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936889#3936889

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936889


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Transforming SOAPElement gives incomplete data in JBoss

2006-04-12 Thread amit_rm
SOAPElement response = //response from WS
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer();
DOMSource source = new DOMSource(response);
StringWriter sw = new StringWriter();
StreamResult result = new StreamResult(sw);
transformer.transform(source, result);
System.err.println(sw.toString());

Same code works fine with SUN's implementation of SOAPElement i.e.
com.sun.xml.messaging.saaj.soap.impl.ElementImpl

But when I run the same code in JBoss 4.0.2 I get an incomplete string 
representation of the SOAPMessage with 
org.jboss.axis.message.SOAPElementAxisImpl


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936890#3936890

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936890


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Transform SOAPElement gives incomplete XML data

2006-04-12 Thread amit_rm
SOAPElement response = //response from WS
TransformerFactory tFactory = TransformerFactory.newInstance();
Transformer transformer = tFactory.newTransformer();
DOMSource source = new DOMSource(response);
StringWriter sw = new StringWriter();
StreamResult result = new StreamResult(sw);
transformer.transform(source, result);
System.err.println(sw.toString());

Same code works fine with SUN's implementation of SOAPElement i.e.
com.sun.xml.messaging.saaj.soap.impl.ElementImpl

But when I run the same code in JBoss 4.0.2 I get an incomplete string 
representation of the SOAPMessage with 
org.jboss.axis.message.SOAPElementAxisImpl 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936891#3936891

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936891


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Relation load problem

2006-04-12 Thread S0d0
I'm having problem with entity beans.
When I use findByPrimaryKey to fetch one entity on parent table,
all child objects is fetched immediately. I have millions of records in child 
table so it kills performance. Is this normal behaviour?

I'm using JBoss 4.0.3SP1.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936892#3936892

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936892


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: 'Error during remote request' since 1.52 Seam revision

2006-04-12 Thread jdestef
Hi,

Having the same issue. In the storeConversation method of the Manager class the 
pageContext returned from Contexts is null. This happens during a remote 
request. 

I added a check for the page context. Looks like this:

if (Contexts.isPageContextActive()) {
  |
  | }
  | 
This seems to have fixed the issue for me. Everything else is still functioning 
OK.

Tx

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936893#3936893

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936893


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Problem with getVariable

2006-04-12 Thread Hannes
http://docs.jboss.com/jbpm/v3/userguide/context.html
anonymous wrote : The variable names are java.lang.String. By default, jBPM 
supports the following value types:
  | 
  | * java.lang.String
  | * java.lang.Boolean
  | * java.lang.Character
  | * java.lang.Float
  | * java.lang.Double
  | * java.lang.Long
  | * java.lang.Byte
  | * java.lang.Short
  | * java.lang.Integer
  | * java.util.Date
  | * byte[]
  | * java.io.Serializable
  | * classes that are persistable with hibernate
I guess your 'Activity' object implents none of that types. Make it 
serializable.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936894#3936894

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936894


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: TimerService timeout fired within timer-creation transac

2006-04-12 Thread [EMAIL PROTECTED]
I'm looking at the code so it seem the timer will expire even before the create 
transaction is committed.

The standard is not very clear on that: ejb-2.1 spec, section 22.4.2 reads

The container must call the ejbTimeout method after the timed duration or the 
absolute time specification in the timer creation method has passed. The timer 
service must begin to count down the timer duration upon timer creation...

So it boils down to what is the timer creation time.

- TimerService.createTimer()
or
- tx commit after TimerService.createTimer() ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936895#3936895

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936895


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: generating seam files with hibernate tools prob.

2006-04-12 Thread [EMAIL PROTECTED]
well, its needed to show the db structure in the ui.

...and you still get an error for annotationconfiguration is needed ?

ensure that the checkbox is selected and close/create the session factory - and 
if that does not work, restart and try again (which then indicates we have a 
bug ;)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3936900#3936900

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3936900


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   >