[JBoss-user] [JBoss Getting Started Documentation] - Re: Unsupported major.minor version 49.0 when trying to star

2006-03-29 Thread [EMAIL PROTECTED]
What is the mystery here? The ejb3 services requires Java5.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933610#3933610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933610


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Enlightenment

2006-03-29 Thread lovelyliatroim
cheers Brian, will take a look.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933608#3933608

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933608


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: MIgrating to 4.0.4RC1 from 4.0.3SP1 and no Entity Beans

2006-03-29 Thread gommo
Interestingly, I removed the database from postgres and I get an exception on 
deployment that 

org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.postgresql.util.PSQLException: FATAL: database "posejb3" 
does not exist)

So I know the persistence is attempting to work. However, it just doesnt create 
any tables like it did in 4.0.3SP1? Is there any specific properties I need to 
add in persistence.xml now??

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933607#3933607

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933607


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - call for examples

2006-03-29 Thread [EMAIL PROTECTED]
anonymous wrote : | I couldn't figure out where to post this suggestion, so 
hope 
  | | it's ok that I send it to you:
  | 

dev forum

anonymous wrote : | It seems like you generate your jBPM User Guide somehow (or 
  | | maybe just converted from some other format?)
  | 

docbook
 
anonymous wrote : | anyway, since some examples (those i've tried so far) are 
not 
  | | up-to-date with the current version of jBPM, and as always 
  | | this will be a constant catchup problem for any new versions 
  | | of the software, I got the idea that you create all examples 
  | | you want to use as real (good documented) junit test in the 
  | | software, and when you generate the documentation those junit 
  | | tests are included directly from the test directory.
  | | (an extraction script could easily be hacked together with 
  | | Perl in worst
  | | case)
  | 

i do it manually :-(

anonymous wrote : | That way the examples in the documentation will always 
work, 
  | | otherwise the release would not have passed the junit tests.
  | 

the examples are not in the overall unit test suite.
 
anonymous wrote : | At the moment I am feeling a bit frustrated regarding the 
  | | lack of examples and documentation with jBPM, at the moment I 
  | | am banging my head with trying to create a simple session EJB 
  | | that should be my interface to call jBPM (it dies completly 
  | | at the jBPMConfigurator.getInstance() with some exception).
  | 

if the exception doesn't help you find the problem, you can raise a jira issue. 
  state the problem you experienced and the exception that you got. 

anonymous wrote : | Imo, documentation and examples are the most important 
parts 
  | | to get a spread use of any open source software; I would 
  | | gladly have only half the features but excellent 
  | | documentation/examples so I could be able to focus on coding 
  | | my application code (instead of spending days trying to 
  | | figure out how to use jBPM). I don't think I am alone in 
  | | thinking like this.

we always welcome any initiative in that area from community members like you.

anonymous wrote : | 
  | | cheers,
  | |

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933605#3933605

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933605


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Unsupported major.minor version 49.0 when trying to star

2006-03-29 Thread jedabo
Same bug with JDK1.4.2_9 (downgraded to this to try Geronimo before turning to 
JBoss).
Yes, not using ejb3 packages must be a solution, as ejb3 are introduced in JEE 
5 (and Glassfich), which in turn probably requires J2SE5.
JBoss StartGuide indicates that packages can be deactivated after installation. 
That should be a third solution, no ?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933604#3933604

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933604


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: HOw can I get the connection object from JBoss

2006-03-29 Thread [EMAIL PROTECTED]
Ok, then I assume you are doing a straight lookup of a DataSource...in a J2EE 
client, application client, or a Application component. What I don't 
understand, and what you should kind of question is...why the property stuff? 

If you are actually running in a EJB, there should  be no need for this right? 


You can do

InitialContext initCtx= new InitialContex();

with no worries...right? 

If not, then you are probably trying to access a DS outside of the container. 
Which means you want remote access to a datasource...


So, which is it? 





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933601#3933601

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933601


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBossWorkManager waitForAll()

2006-03-29 Thread hannes.koller
Hi,
thanks for your reply. I had already feared that this is not part of the JCA 
spec.. I will submit it as  a feature request. Thanks :) 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933600#3933600

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933600


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Same JNDI name on two different hosts problem

2006-03-29 Thread ZBoris
Hey there,

I have two session beans deployed in a separate jars on separate jboss 
instances running on two different hosts.
These session beans have the same jndi name.
Both beans have method defined testMethod() which returns name of the host, 
this bean is deployed at.
Both beans also have a runTest() method which executes testMethod() from both 
session beans (using remote interfaces) from different hosts.
I am invoking runTest() method on one of the beans, which results in two calls 
to testMethod() method from the same bean!

Problem is, that since both sessions have the same JNDI name, and even though 
they are located on different hosts, testMethod() gets invoked from the same 
host where runTest() method is running.

How do I overcome this problem ?

Im running jboss in the default configuration and it is crucial to have those 
beans under the same JNDI name.

Sample code is below

Session bean methods

  | public String  testMethod() throws TestComponentException
  | {
  | System.out.print("Entered testMethod()");
  | String hostname;
  | try
  | {
  | hostname = InetAddress.getLocalHost().getHostName();
  | }
  | catch (UnknownHostException he)
  | {
  | hostname = "localhost";
  | }
  | return hostname;
  | }
  | 
  | public String  runTest() throws TestComponentException
  | {
  | String result = "";
  | try
  | {
  | Properties props = new Properties();
  | 
  | props.remove(Context.PROVIDER_URL);
  | props.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | 
  | props.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces");
  | 
  | InitialContext ctx = new InitialContext(props);
  | 
  | Object object = ctx.lookup("jnp://192.168.0.110/TestComponent");
  | 
  | TestComponentHome eventManagerHome = (TestComponentHome) 
PortableRemoteObject.narrow(object, TestComponentHome.class);
  | 
  | TestComponent eventManager = eventManagerHome.create();
  | 
  | result +=("p: " + eventManager.testMethod());
  | 
  | Properties props2 = new Properties();
  | props2.remove(Context.PROVIDER_URL);
  | 
  | props2.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | 
  | props2.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces");
  | 
  | InitialContext ctx2 = new InitialContext(props2);
  | 
  | Object object2 = 
ctx2.lookup("jnp://192.168.0.120/TestComponent");
  | 
  | TestComponentHome eventManagerHome2 = (TestComponentHome) 
PortableRemoteObject.narrow(object2, TestComponentHome.class);
  | 
  | TestComponent eventManager2 = eventManagerHome2.create();
  | 
  | result +=(" m: " + eventManager2.testMethod());
  | 
  | 
  | System.out.print(result);
  | 
  | }
  | catch (Exception e)
  | {
  | e.printStackTrace();
  | throw new TestComponentException(e);
  | }
  | return result;
  | }
  | 

Client call

Properties props = new Properties();
  | 
  | props.remove(Context.PROVIDER_URL);
  | //props.put(Context.PROVIDER_URL, "sa-provisioning");
  | 
  | props.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | 
  | props.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces");
  | 
  | InitialContext ctx = new InitialContext(props);
  | 
  | Object object = ctx.lookup("jnp://192.168.0.110/TestComponent");
  | 
  | TestComponentHome eventManagerHome = (TestComponentHome) 
PortableRemoteObject.narrow(object, TestComponentHome.class);
  | //TestComponentHome eventManagerHome = (TestComponentHome) 
object;
  | 
  | TestComponent eventManager = eventManagerHome.create();
  | 
  | System.out.println("calling runTest() from provisioning 
results: " + eventManager.runTest());

This code result in two System.out.printlines - "Entered testMethod()" on the 
192.168.0.110 hosts, as opposed to one line on both hosts.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933599#3933599

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933599


---
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=lnk&kid=110944&bid=241720&dat=121642

[JBoss-user] [JBoss jBPM] - Re: EJB examples with jBPM?

2006-03-29 Thread cwad0000
ahthe user guide is out of date then
The jBPM library can also be packaged and exposed as a stateless session EJB. 
This allows clustered deployment and scalability for extreme high throughput. 
The stateless session EJB will be written against the J2EE 1.3 specifications 
so that it is deployable on any application server.

Does it exist any code examples where someone created a EJB as wrapper for 
jBPM? Would be nice if I don't have to reinvent the wheel...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933598#3933598

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933598


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Multiple Databases with Identical Schemas

2006-03-29 Thread Eekboom
Hah - if I understand your problem correctly this is exactly what caused a lot 
of trial-and-error for me.

After all the only thing I had to do is get my entity manager dynamically 
rather than having it injected:
public EntityManager getEntityManager(String unit) {
  | String path = "java:/EntityManager/" + unit;
  | EntityManager entityManager = null;
  | try {
  | InitialContext context = new InitialContext();
  | try {
  | entityManager = (EntityManager) context.lookup(path);
  | }
  | finally {
  | context.close();
  | }
  | }
  | catch(NamingException e) {
  | LOGGER.log(Level.WARNING, "Cannot retrieve entity manager: " + 
entityManager, e);
  | }
  | 
  | return entityManager;
  | }
  | 
where the "unit" parameter is the name of one of the units in your 
persistence.xmls.

The entity beans don't need any special coding.

This thread discussed the problem a while ago, but I found it more confusing 
than helpful:
http://jboss.org/index.html?module=bb&op=viewtopic&t=65869&postdays=0&postorder=asc&start=0

What finally got me going was the answer to my own question here:
http://jboss.org/index.html?module=bb&op=viewtopic&t=79597


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933597#3933597

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933597


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Mapping ldap groups to jboss roles? where?

2006-03-29 Thread cwad0000
thanks for the replies,

I have read those pages (and all other information I could find)...
Am I wrong in assuming that I need to do a mapping of my group names in active 
directory to the role names defined in web.xml?

this is my login-config.xml


  

  com.sun.jndi.ldap.LdapCtxFactory
  ldap://somedomain.com:389/
  simple
  [EMAIL PROTECTED]
  PASSWORD
  OU=All 
Users,DC=DOMAIN,DC=COM
  (sAMAccountName={0})
  OU=AllCorporateGroups,DC=DOMAIN,DC=COM
  (member={0})
  cn
  memberOf
  cn
  -1

  


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933596#3933596

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933596


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - jBPM DB Queries under jbpm 3.1

2006-03-29 Thread trisko
Hello,

currently we are migrating our application from jbpm 2 to 3.1. How are the jbpm 
db queries handeld in 3.1? So far I haven't found anything like JbpmQuery and 
somethign like executionService.findByQuery? Is this all done via API calls now 
or do we have to use hibernate directly to query the jbpm db?

Here is a little code example of what we try to migrate:

  | String hql = "select v from 
org.jbpm.model.execution.impl.VariableInstanceImpl as v " +
  | "left join v.token as t " +
  | "where v.name = \"umsatzId\" " +
  | "and t.end is null " +
  | "and t.actorId = :actorId" ;
  | JbpmQuery j = new JbpmQuery( hql );
  | j.addParameter("actorId", name);
  | List variables = executionService.findByQuery(j);
  | 

regards

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933595#3933595

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933595


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Web form mechanism

2006-03-29 Thread medjbpm
Hello
i see in src/ressource/jbpm.war the jsp file 
are these file that i should adapt ?

Med

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933594#3933594

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933594


---
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=lnk&kid=110944&bid=241720&dat=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: Hibernate Hql Editor not showing

2006-03-29 Thread [EMAIL PROTECTED]
i cannot see half of the xml but the stuff i do see with "classpath:" I have no 
idea why you would put that in a hibernate.cfg.xml ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933593#3933593

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933593


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Override URL and Port For WS

2006-03-29 Thread anders.hedstrom
I guess you could try something like this:

Your service interface class implements javax.xml.rpc.Service interface, this 
interface gives you a couple of methods you could use:

java.rmi.Remote getPort(java.lang.Class serviceEndpointInterface)
  | java.rmi.Remote getPort(javax.xml.namespace.QName portName, java.lang.Class 
serviceEndpointInterface)
  | 

Your SEI class implements javax.xml.rpc.Stub interface and here you can use the 
method _setProperty

((Stub)myport)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY,"my_endpoint");



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933592#3933592

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933592


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: CacheLoaderInterceptor Bottleneck?

2006-03-29 Thread [EMAIL PROTECTED]
Just as a waning: if you try implementing locking per FQN, you will end up 
creating a tree-like structure again ! IMO we should better implement this in 
the cache itself, and use multiple root for example to bypass this problem.
Or - if you absolutely have to do it - extract this functionality into its own 
Locking Table, I created a JIRA issue some time ago. This LT could be used for
- pessimistic locking (per FQN)
- briefly locking the tree in OL

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933591#3933591

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933591


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: HOw can I get the connection object from JBoss

2006-03-29 Thread mahendra.wadekar
Thanks for the reply.

Both the client and the server is on same VM and database is on remote machine.
I have already gone through that link you provided to me and still I am having 
the same problem.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933590#3933590

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933590


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: peoblem about extend PersistenceContext in SFSB

2006-03-29 Thread littlesuns
Thank you Gavin;
i will try to refactor my code.:-)


   regard

   wangzk

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933588#3933588

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933588


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem in accessing Connection Factory

2006-03-29 Thread baba79au
I would like to know is there any configuration setting to be added/enabled to 
activate the ConnectionFactory. Please help me... 

Thanks for your help..

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933587#3933587

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933587


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Problem in accessing Connection Factory

2006-03-29 Thread baba79au
Hi 
  I am new to JBoss. I am having a problem accessing the "ConnectionFactory" to 
send a Message to Queue.

The code i have used is below:


InitialContext ctx;
QueueConnectionFactory cf;
QueueConnection connection;
QueueSession session;
Queue destination;
QueueSender sender;
TextMessage message;

MessageToQueue mtq = new MessageToQueue();
ctx= mtq.getInitialContext();

cf = (QueueConnectionFactory)ctx.lookup("ConnectionFactory");
destination = (Queue)ctx.lookup("advantJMS");


My getInitialContext() method is having the following code: 


 
protected InitialContext getInitialContext() throws Exception {
String url = "jnp://localhost:1099"; //specify the host name where 
JBoss is running on
String user = null;
String password = null;
Properties properties = null;
try {
  properties = new Properties();
  properties.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory"); //JBoss Naming Context
  properties.put(Context.PROVIDER_URL, url);
  properties.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces");
  if (user != null) {
properties.put(Context.SECURITY_PRINCIPAL, user);
properties.put(Context.SECURITY_CREDENTIALS, password == null ? "" : 
password);
  }

  return new InitialContext(properties);
}
catch(Exception e) {
  System.out.println("Unable to connect to JBoss server at " + url);
  System.out.println("Please make sure that the server is running.");
  throw e;
}
  


The error I am getting on is 


javax.naming.NameNotFoundException: ConnectionFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at MessageToQueue.main(MessageToQueue.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933586#3933586

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933586


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: peoblem about extend PersistenceContext in SFSB

2006-03-29 Thread [EMAIL PROTECTED]
BTW, the NPE is not beautiful, we should fix that.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933584#3933584

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933584


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: peoblem about extend PersistenceContext in SFSB

2006-03-29 Thread [EMAIL PROTECTED]
You are not supposed to pass the reference to the EM outside of the component.

Refactor your code that runs the Query onto the FirmAction class.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933583#3933583

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933583


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to get EntityManager in seamtest

2006-03-29 Thread [EMAIL PROTECTED]
I don't understand. Usually you call your own components from SeamTest and EJB3 
or Seam injects the EM.

What is the context where you want to get one in your own code?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933582#3933582

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933582


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Help requried for JBoss 3.2.5 behind Firewall

2006-03-29 Thread sanketdesai
Hi Anuj,

Can you send your jboss.xml? I want to know what modifications have you made (I 
know you that it is for JBoss 4, but let me see).

Did you make any changes in standard-jboss.xml file?

regards,

Sanket.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933579#3933579

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933579


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - problem starting up JBoss AS

2006-03-29 Thread [EMAIL PROTECTED]
I have been using 4.0.3SP1 on XP for a few months. It has been running fine 
with the EJB3 application. Yesterday, it suddenly had a problem starting up. 
There is no regular INFO messages showing up when the run.bat is executed. See 
the following. I checked the log4j.xml in the conf directory and the root 
logger and Console appender and the log level are all correct. By using 
"netstat", port 1099, 1098, and  will start listening right after starting 
up. But apparently Tomcat is not; neither can my EJB client program talk to the 
app server which was working fine.  I reinstalled JBoss without my EJB module 
on different directory, but the problem still persists. Does anybod have any 
idea? I don't see any new message in the log file either. I did a Ctrl-Break to 
get a thread dump. All the threads are in Object.wait. see the below.  Thanks!

C:\Java\jboss-4.0.3SP1\bin>run
===
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\Java\jboss-4.0.3SP1\bin\\..
.
  JAVA: C:\java\JDK\bin\java
.
  JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m
.
  CLASSPATH: C:\java\JDK\lib\tools.jar;C:\Java\jboss-4.0.3SP1\bin\\run.jar
.
===
.
Shutting down
Shutdown complete
Halting VM
Terminate batch job (Y/N)? y

-

Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode):

"JBossLifeThread" prio=6 tid=0x27907f78 nid=0xccc in Object.wait() [0x2828f000..
0x2828f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x02ce2798> (a java.lang.Object)
at java.lang.Object.wait(Unknown Source)
at org.jboss.system.server.ServerImpl$LifeThread.run(ServerImpl.java:900
)
- locked <0x02ce2798> (a java.lang.Object)

"UILServerILService Accept Thread" prio=6 tid=0x278867d0 nid=0xfbc runnable [0x2
824f000..0x2824fa68]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
- locked <0x033100a8> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:1
37)
at java.lang.Thread.run(Unknown Source)

"TimeoutFactory" daemon prio=6 tid=0x27141e50 nid=0xc18 in Object.wait() [0x2820
f000..0x2820fae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x03310228> (a org.jboss.util.timeout.TimeoutFactory)
at org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:511)

- locked <0x03310228> (a org.jboss.util.timeout.TimeoutFactory)
at org.jboss.util.timeout.TimeoutFactory.access$300(TimeoutFactory.java:
30)
at org.jboss.util.timeout.TimeoutFactory$1.run(TimeoutFactory.java:566)

"JCA PoolFiller" prio=6 tid=0x270d9438 nid=0xaf8 in Object.wait() [0x281cf000..0
x281cfb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x033102a0> (a java.util.LinkedList)
at java.lang.Object.wait(Unknown Source)
at org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:8
2)
- locked <0x033102a0> (a java.util.LinkedList)
at java.lang.Thread.run(Unknown Source)

"Timer-2" daemon prio=6 tid=0x27886578 nid=0x908 in Object.wait() [0x2818f000..0
x2818fbe8]
at java.lang.Object.wait(Native Method)
- waiting on <0x03310330> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Unknown Source)
- locked <0x03310330> (a java.util.TaskQueue)
at java.util.TimerThread.run(Unknown Source)

"HSQLDB Timer @1a40247" daemon prio=6 tid=0x278863f0 nid=0xc4c in Object.wait()
[0x2804f000..0x2804fc68]
at java.lang.Object.wait(Native Method)
- waiting on <0x05dd4310> (a org.hsqldb.lib.HsqlTimer)
at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
- locked <0x05dd4310> (a org.hsqldb.lib.HsqlTimer)
at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

"PooledInvokerAcceptor#0-4445" prio=6 tid=0x26e71b30 nid=0x648 runnable [0x2800f
000..0x2800fd68]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
- locked <0x05aa1000> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.ja
va:240)
at java.lang.Thread.run(Unknown Source)

"RMI TCP Accept-" daemon prio=6 tid=0x27040538 nid=0xbd4 runnable [0x27fcf00
0..0x27fcf9e8]
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
- locked <0x05a8e6d0> (a

[JBoss-user] [JBoss Portal] - Re: root folder of CMS (what is that)

2006-03-29 Thread conkan
Follow these steps before you try anything else:

1. Point your browser to 'http://localhost:8080/portal'.

2. Select 'Standard login' and login as 'admin' with password 'admin'.

3. Go to the 'CMS Manager' tab.

4. You will see an icon that symbolizes a folder being created. Click that.

5. Make sure that you are at the root directory ('/'). Create the folder named 
'gallery'. 

6. Navigate to the 'gallery' folder. Click on the icon that symbolizes a 'zip' 
file being uploaded. Find 'images.zip' on your local file system and upload 
that.

7. Navigate to the 'gallery' folder again. Click on the icon that symbolizes a 
'zip' file being uploaded. Find 'thumbnails.zip' on your local file system and 
upload that.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933575#3933575

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933575


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - authorizaton to forum portlet catagory and forum problem

2006-03-29 Thread jandrew
I have deploy jboss forum portlet successfully.I create two category,I want 
authorize category 1 to admin user ,and authorize category 2 to common user,how 
can I configure or modify source code to implement these requirement. thanks 
very much. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933573#3933573

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933573


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Hot deploy of ds.xml files generates errors

2006-03-29 Thread achitre
Anuj - Have you figured this out?  If you have, please let us know.  Thanks.


Adrian,

I hate to admit, but I tried to read the answer for this in the manual and I 
couldn't find it.  All I know is, in a Spring based app we can accomplish this 
as follows:

Add this to the JndiObjectFactoryBean bean
property name="cache" value="false"
property name="proxyInterface" value="javax.sql.DataSource"

Bascially, don't cache the JNDI object so that Hot deployment would work.  But 
how do I do this in an application that's not based on Spring?

I apologize in advance, but please help.  Thanks.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933572#3933572

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933572


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: question about deployment

2006-03-29 Thread ws822
"tperrigo" wrote : I'm having some trouble understanding how to deploy a 
process.  I was able to create a jbpm service archive (using the steps outlined 
here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74781.  I then 
copied the jbpm.sar to the deployment directory of my server; it seemed to 
deploy successfully (though I'm not exactly sure how to test that).
  | 
  | Now I've created a new process using the GPD.  In my source directory, I 
have a "FirstTry.par" directory which contains the processdefinition.xml file 
for my process.  How do I go about deploying this process?  Is the process 
archive already in a "deployable" form, or is there something else I need to 
do?  Where does the par get deployed?  Do I just copy it into my server's 
deployment directory?
  | 
  | I aplogize if these are rather basic questions; I'm just having a hard time 
fitting all the pieces of jBPM together.  Any help would be greatly appreciated!
  | 
  | Thanks,
  | Tim

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933571#3933571

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933571


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @Service + @Management + @Remote + @SecurityDomain?

2006-03-29 Thread elkner
Thax a lot. Hope it doesn't take too long ;-)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933570#3933570

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933570


---
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=lnk&kid=110944&bid=241720&dat=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 Bootstrap Environment config

2006-03-29 Thread johnson4
Well Im still having trouble with the database, I switched to mySQL but there 
is a problem with errors like this.ObjectName: 
jboss.j2ee:jndiName=tambur/billing/service,service=EJB
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: Error while fixing 
table name; - nested throwable: (org.jboss.util.NestedSQLException: Could not 
create connection; - nested throwable: 
(org.jboss.resource.JBossResourceException: Failed to register driver for: 
org.gjt.mm.mysql.Driver; - nested throwable: (java.lang.ClassNotFoundException: 
No ClassLoaders found for: org.gjt.mm.mysql.Driver)); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (org.jboss.resource.JBossResourceException: Failed to 
register driver for: org.gjt.mm.mysql.Driver; - nested throwable: 
(java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.gjt.mm.mysql.Driver
  | 
  | 
  | 17:41:08,946 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-9002
  | 17:41:09,325 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
  | 17:41:09,337 INFO  [JkMain] Jk running ID=0 time=0/32  config=null
  | 17:41:09,407 INFO  [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: 
CVSTag=JBoss_4_0_4_RC1 date=200602071519)] Started in 43s:120ms

do you know anything about "org.gjt.mm.mysql.Driver" my db congif file looks 
like this
  | TamburDS
  | jdbc:mysql://localhost:3306/tambur
  | org.gjt.mm.mysql.Driver
  | tambur
  | 
  | 5
  |   

Any ideas,  
Also Do I need to open the Coyote HTTP/1.1 on http-0.0.0.0-9002 port on my 
servers firewall?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933567#3933567

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933567


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Enlightenment

2006-03-29 Thread [EMAIL PROTECTED]
This isn't directly what you're asking for, but has some helpful stuff:

http://people.apache.org/~mturk/docs/article/ftwai.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933565#3933565

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933565


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - EJB Client jar

2006-03-29 Thread bashdrew
Hi,


I am a newbie in JBoss.  I am using the JBoss Eclipse IDE.  I've gone through 
the tutorial creating the FiboBean EJB and it says that the creation of client 
jar should be skipped.  How can I get the client stubs to be needed by the 
client applications for remote access?  Thanks.


Regards,
Andrew


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933564#3933564

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933564


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How to Stop a Running Master Node in singleton clusterin

2006-03-29 Thread [EMAIL PROTECTED]
If you un-deploy your singleton service, that should do it. Or you want to stop 
the node completely?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933562#3933562

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933562


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: help on jboss-portal-2.2

2006-03-29 Thread ilangocal
"yxyang" wrote : what is the scope of pages defined within one war file? 
  | 
  | Does it mean war files will define pages and then all these pages can be 
used/arranged through management UI?
  | 
  | yang

Hi
I am scratching my head over the same question?
Why this SAR file?

Have you figured it out? It would be helpful if you have gained any 
understanding that you can pass on

thanks in advance

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933561#3933561

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933561


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @Service + @Management + @Remote + @SecurityDomain?

2006-03-29 Thread bdecoste
This is fixed, but won't be available until our next release - EJB RC6. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933557#3933557

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933557


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Abnormal client disconnection

2006-03-29 Thread bdecoste
No, but the SFSB will quickly become passivated and eventually removed so there 
is no reason to worry about cleaning it up yourself.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933556#3933556

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933556


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: SFSB not storing values?

2006-03-29 Thread bdecoste
Every refresh is doing another SFSB JNDI lookup - this is giving you a new 
instance of the SFSB each time. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933555#3933555

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933555


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM and JDK 1.3?

2006-03-29 Thread kukeltje
I personally would not focus on new 1.3 development see 
http://java.sun.com/j2se/1.3/download.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933553#3933553

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933553


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: install jbpm

2006-03-29 Thread kukeltje
sometime solutions are so simple.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933551#3933551

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933551


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - How to get EntityManager in seamtest

2006-03-29 Thread liudan2005
Started trying seamtest again. How can i get EntityManager in SeamTest case.
tried:
EntityManagerFactory emf = Persistence.createEntityManagerFactory("mydb");
and tried:
EntityManagerFactory emf = 
Persistence.createEntityManagerFactory("mydb",configOverrides);

None of them worked.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933550#3933550

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933550


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Unworkable jbpm.war downloaded from wiki knowledge base

2006-03-29 Thread kukeltje
Hey, that's a wiki, anybody can post things that work against their 
environment. If they do not post enough info to describe their environment, 
this is what you can get. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933549#3933549

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933549


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3 session bean with EJB2 session dependency

2006-03-29 Thread bdecoste
Here's an example of how to reference an EJB2.x bean from an EJB3.0 bean in two 
ways. The first is using annotations for the ejb reference and the other using 
the deployment descriptor.

The following is the EJB3 bean:

  | @Stateless(name="Test3")
  | @Remote(Test3.class)
  | @RemoteBinding(jndiBinding="Test3")
  | @EJBs([EMAIL PROTECTED](name="injected/Test2",  mappedName="Test2")})
  | public class Test3Bean
  |implements Test3
  | {
  |private static final Logger log = Logger.getLogger(Test3Bean.class);
  |
  |@EJB(name="ejb/Test2")
  |private Test2Home test2Home=null;
  | 
  |public void testAccess() throws Exception
  |{
  |   Test2 test2 = test2Home.create();
  |   try {
  |  InitialContext jndiContext = new InitialContext();
  |  Test2Home home = 
(Test2Home)jndiContext.lookup(Container.ENC_CTX_NAME + "/env/injected/Test2");
  |  test2 = home.create();
  |   } catch (Exception e)
  |   {
  |  e.printStackTrace();
  |   }
  |}
  | }
  | 

The following is the EJB2.x ejb-jar.xml:

  | 
  | 
  | 
  | ejb/Test2
  | org.jboss.ejb3.test.reference21_30.Test2Home
  | org.jboss.ejb3.test.reference21_30.Test2
  | 
org.jboss.ejb3.test.reference21_30.Test2Bean
  | Stateless
  | Container
  | 
  | 
  | 
  | 

And the EJB2.x jboss.xml:


  | 
  |
  |   
  |  ejb/Test2
  |  Test2
  |   
  |
  | 
  | 

Now the EJB3 ejb-jar.xml

  | 
  | 
  | 
  | Test3
  | 
  | ejb/Test2
  | Session
  | 
  | 
  | 
  | 
  | 

And the EJB3 jboss.xml:

  | 
  | 
  | 
  | Test3
  | 
  | ejb/Test2
  | Test2
  | 
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933548#3933548

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933548


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JCA Connection Retry and Timeout

2006-03-29 Thread chungmanho
The JBoss version I am using is 4.0.3 sp1.  Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933547#3933547

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933547


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Help requried for JBoss 3.2.5 behind Firewall

2006-03-29 Thread anshah1
I am trying to achieve the same kind of deal. RMI over http with JBOSS 4.

I was wondering what would be the correct way of testing this. Everything seems 
to be working fine however I do not know whether it's over Http or direct RMI.

i have modified my jboss.xml to create invoker bindings for both stateless and 
stateful sessions beans. My Entity beans are accessed only locally by the 
server.

Thanks,
anuj


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933546#3933546

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933546


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: difference beetween swimlane,role and user

2006-03-29 Thread kukeltje
because people how have knowledge about bpm, uml, processes etc *know* they are 
the 'same'. 

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933545#3933545

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933545


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: [URGENT] help about workflow with JBPM

2006-03-29 Thread kukeltje
Chouiekh,

If you read the documentation of the GPD, you will see exactely the things you 
need to know. The documentation on jBPM is (imo) not 'rare' but it is a little 
developer oriented and not fully meant to be just used by business users. 

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933544#3933544

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933544


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - JBossCache 1.3 and Hibernate -- couple of questions

2006-03-29 Thread akardell
We're still working on testing 1.3 with Hibernate.  I have a couple of 
questions, if anyone can help with, I'd appreciate it.

1) Is it okay to use optimistic node locking with REPLICATION_ASYNC, or is 
optimistic node locking only meant for use with INVALIDATION_ASYNC?

2) Is there anything with 1.3 and/or INVALIDATION_ASYNC that might affect 
Hibernate's use of query caching?  In our initial tests, query caching seems to 
be rather resource intensive, and I'm wondering if there's anything inherent to 
1.3, invalidation, or optimistic locking that would make for a bad fit with 
query caching?

Thanks!

Aaron



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933543#3933543

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933543


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: question about deployment

2006-03-29 Thread kukeltje
make sure your start state has a task in it. It will then show up in the 
default web app. Otherwise you'd have to use sql to check the db to see if 
every thing is deployed

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933542#3933542

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933542


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - javax.annotation.EJB vs javax.ejb.EJB (was Re: @EJB annotati

2006-03-29 Thread xinu
"xinu" wrote : "adver11" wrote : thank asack.I found my problem.
  | 
  | I'm having similar problems--I can't get the @EJB annotation to work at 
all, but everything is fine when I lookup() myself.
  | 
  | adver11, what was your problem that you found?

Never mind, I figured out my problem too.

My problem was that I was using javax.ejb.EJB, which presumely superceded 
javax.annotation.EJB in the specs and Sun's docs.  Or vice versa--Sun's docs 
all say javax.ejb.EJB, but I'm rather surprised I can't find any references to 
it changing packages.

Using javax.annotation.EJB instead does work for me, just as it does in the 
(JBoss) examples.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933541#3933541

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933541


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: more info in queries

2006-03-29 Thread kukeltje
To me this looks like hibernate logging. I think you should ask in the 
hibernate forums.

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933540#3933540

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933540


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: multiple process definition

2006-03-29 Thread kukeltje
Yes

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933539#3933539

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933539


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Required indexes missing in JBPM DB script.

2006-03-29 Thread kukeltje
I partly agree. Some people use integer colums to find task, some use other 
colums. jBPM cannot provide all these indexes out of the box, unless we say 
'index everything)

We can however provide information either in the wiki or in some faq to give 
directions. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933537#3933537

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933537


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: root folder of CMS (what is that)

2006-03-29 Thread ilangocal
"gator" wrote : Hi Ilangocal,
  | 
  | Out of the box, I would say the root folder for the CMS looks like this:
  | 
  | http://localhost:8080/portal/content/
  | 
  | under there you will see the "default" directory.  If you want to see
  | a image in the default directory you would enter a URL like:
  | 
  | http://localhost:8080/portal/content/default/images/check.gif
  | 
  | You should be able to create a "gallery" folder using the CMS Admin
  | tool and upload images using this tool. You need to login as "admin" 
  | password "admin" before you will see this tool.
  | 
  | The imagegallery uses URLs like the following to link to the images
  | you upload:
  | 
  | /portal/content/gallery/thumbnails/desert.jpg
  | 
  | Hope this helps

---
I created a 'gallery' folder in the following directory:(the 'root' folder of 
CMS)

I did not know clearly what this root folder meant, but I went ahead and
created the 'gallery' folder under
C:\jbossPortal\jboss-portal.sar\portal-cms.sar\portal\cms\conf\default-content\default

I took the 'portal-cms.sar' directory as the root folder of CMS. (Maybe I am 
wrong?)

Then I drop this folder into /server/default/deploy of JBoss directory.

I also drop the image gallery ear file into the same directory and see what 
happens.

JBoss says that it deployed the ear and but when I navigate to the CMS manager 
(after I bring up the Portal on http://localhost:8080/portal) I cannot navigate 
to 'gallery'. (I only see ROOT FOLDER and default and images underneath).

No upload takes place..

I am going to try out something that one of the folks out here told me to try..

But any suggestions, feedback, comments or workarounds are welcome and are 
gratefully acknowledeged.
Thanks to everybody's time







View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933535#3933535

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933535


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: TIP: jBPM and BAM/BI

2006-03-29 Thread kukeltje
I fully agree, but having people from pentaho committed to jBPM would be nice. 
We coud (ab)use them to get up and running fast. I already downloaded their 
JBoss integrated environment and wil look into this (professionally, not in my 
spare time) to see what they can provide. Sound's like a perfect match

Ronald

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933536#3933536

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933536


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Implementing Deployment Bootstrap

2006-03-29 Thread dsteinwe
 Yes indeed, it sounds like the chicken and egg problem. But the fowl problem 
isn't unsolvable: First, there was a chicken like creature that lays the egg. 
Not a really surprising answer thinking about evolution, or? Let's go a step 
ahead: If the chicken and egg problem is solvable, why should the deployment 
bootstrap problem not be solvable? Ok, this line of argument may assailable.

But seriously, why do you secure your server-app? In my opinion you secure it 
against clients. Is the deployment of your server-app a server or a client 
operation? I would answer: "A server-sided operation". Furthermore, if I write 
the bootstrap and deploy it together with the server-application, shouldn't the 
container trust the code of the bootstrap if I do? 

Second thought: One very important feature of j2ee is the abstraction layer 
accessing databases. By this, you can really write a server application 
sql-aware and independent from database vendors. But why must I use a sql 
script and care about the differences between vendors when I initialize the 
database? Why can't I use consequently use the abstraction layer even when I 
initialize the database? Would you like buy a Porsche 911 without keys (if you 
had the money to buy one)? Would you really like to short-circuit you own 911? 
I don't! I would ask for the keys!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933534#3933534

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933534


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @EJB annotation not working in Java Bean

2006-03-29 Thread xinu
"adver11" wrote : thank asack.I found my problem.

I'm having similar problems--I can't get the @EJB annotation to work at all, 
but everything is fine when I lookup() myself.

adver11, what was your problem that you found?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933533#3933533

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933533


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: HOw can I get the connection object from JBoss

2006-03-29 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources

I assume you are attempting to use this DS remotely correct? Please read the 
link above. 




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933532#3933532

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933532


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to tunneling jms to 80 port?

2006-03-29 Thread andres10

This was right after step 6

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933531#3933531

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933531


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: org.jboss.axis.AxisFault: No service class was found! A

2006-03-29 Thread rosellinif
i have the same troubles with the wiki. have you any response?


thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933530#3933530

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933530


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to tunneling jms to 80 port?

2006-03-29 Thread andres10
I did exactly these steps, but got the following error:

18:15:04,359 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, 
rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, 
Server [EMAIL PROTECTED]
18:15:05,468 WARN  [ServiceController] Problem starting service 
jboss:service=Naming
javax.naming.NamingException: Failed to retrieve Naming interface [Root 
exception is java.io.IOException]
at 
org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:69)
at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:175)
at org.jboss.naming.NamingService.startService(NamingService.java:227)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:428)
at org.jboss.system.ServiceController.start(ServiceController.java:446)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
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 $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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 $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
at org.jboss.Main.boot(Main.java:187)
at org.jboss.Main$1.run(Main.java:438)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException
at 
sun.net.www.proto

[JBoss-user] [Clustering/JBoss] - Re: JRMPProxyFactory in deploy-hasingleton

2006-03-29 Thread [EMAIL PROTECTED]
If you don't need it, then I'd recommend avoiding farming until we can identify 
and resolve the issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933528#3933528

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933528


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Override URL and Port For WS

2006-03-29 Thread greenbean
I setup a client in jboss following these directions:

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

However, I need to have the ability to programmatically override the port and 
url specific in the wsdl.  Or, how about in the jboss-client.xml or 
application-client.xml?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933527#3933527

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933527


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - myCGI.exe in browser address

2006-03-29 Thread JoniJBOSS
Hi,

I have a myCGI.exe that works fine with IIS(inserting the URL in the browser 
address), but when I use it in JBOSS and then it tries to download the 
file(myCGI.exe) the problem happens: the download is the problem, i don't want 
to download the file, i want to execute the file and it generates my webfiles.

where can i set (in JBOSS) to execute my cgi file without making the download 
when inserting the URL directly in browser address?
(e.i.: http://localhost:8080/ScriptsJBoss/myCGI.exe)

thanks,
Joni.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933526#3933526

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933526


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: JRMPProxyFactory in deploy-hasingleton

2006-03-29 Thread Tyler Black
"[EMAIL PROTECTED]" wrote : See this discussion:
  | http://www.jboss.com/index.html?module=bb&op=viewtopic&t=77986
  | 
  | Farming and ha proxies are not interacting correctly.
  | 
  | http://jira.jboss.com/jira/browse/JBAS-3023
  | 

Thanks for the reply.  Would you recommend avoiding farming in conjunction with 
ha proxies at present?  I don't particularly NEED to deploy this service via 
farming, I just wanted to take some measure to ensure all nodes were the same 
in case of failover.  I can use plain old deploy if you would recommend that in 
the mean time.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933525#3933525

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933525


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: is the Join-node mandatory???

2006-03-29 Thread osama.abdelkarim
I have an extended question related to this topic?

Is it possible to make the process instance continue exection after a join node 
based on a condition (possibily in a script) instead of waiting for all child 
tokens?

I have seen a undocumented attribute in the code of Join Node that allows 
adding a script in Join Node. I tried to use it but it failed 
:http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78135

Is there an alternative choice for this? Are there any plans to support it in 
future releases?

Thank you,



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933523#3933523

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933523


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Example custom TaskControllerHandler pls

2006-03-29 Thread dhartford
example:


  



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933521#3933521

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933521


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Example custom TaskControllerHandler pls

2006-03-29 Thread dhartford
example:


  |   
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933522#3933522

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933522


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: JRMPProxyFactory in deploy-hasingleton

2006-03-29 Thread Tyler Black
"susitha" wrote : Hi,
  | What was the application that you were using? Was it an EJB? If so what 
kind of a bean? Did the failover and load balancing happened. 
  | Prabath
There are multiple applications that use the mbean via the proxy.  Servlets and 
Stateless Session Beans.

As mentioned above, failover did occur and every node except the one that was 
shunned was able to reconnect to the new proxy.

There is no load balancing to speak of.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933520#3933520

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933520


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Example custom TaskControllerHandler pls

2006-03-29 Thread dhartford
Hey all,
I am having a bit of a time trying to figure out HOW to write a custom 
TaskControllerHandler based on the information provided.  Is there an example 
somewhere?

As a usecase, if you wanted to add another property to the controller  tag 
called 'type' that could be a Java/XML/.NET whatever-generic Integer, String, 
Date, etc.

Thanks, little confused as to how to extend with the Delegate class reading the 
config file, the custom TaskControllerHandler, whether or not we need to create 
a hbm.xml file, and wanting to keep VariableAccess available for API's that 
want to use the default TaskController (i.e. Extend but keep the webapp version 
running as-is).

-D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933519#3933519

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933519


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: how to run WAR files in JBoss

2006-03-29 Thread anishv
I believe you need to stop the JBossAS and then start it up again with the 
run.bat.  Then JBossAS will autotmatically detect the WAR and JAR files.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933518#3933518

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933518


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: CacheLoaderInterceptor Bottleneck?

2006-03-29 Thread [EMAIL PROTECTED]
Just as well you didn't write the test case while *you* were driving.  :)

The test case is fine so far, but if you would like to contribute further for 
more performance benchmarking and some of the major improvements I have planned 
for the 1.4.0 timeframe, do let me know - I could always use an extra pair of 
capable hands.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933517#3933517

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933517


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Mapping ldap groups to jboss roles? where?

2006-03-29 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapExtLoginModule
http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapLoginModule

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933516#3933516

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933516


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Required indexes missing in JBPM DB script.

2006-03-29 Thread [EMAIL PROTECTED]
Would you mind posting the indexes you created here so others who try and use 
jBPM with Oracle can find the solution?

thanks.

PS: I agree with your comment.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933515#3933515

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933515


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Migration from websphere to JBoss

2006-03-29 Thread anishv
I am currently looking into this effort but have not had much luck finding 
detailed information.  If I have developed EAR files in WASD how do I go about 
to migrate to JBoss AS to run my web services?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933514#3933514

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933514


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: CacheLoaderInterceptor Bottleneck?

2006-03-29 Thread tallpsmith
Manik,

Thanks for you reply, glad the test case helped (I wrote in the car on the way 
home! :) - my wife was driving..)

I'll grab CVS Head and check out the changes.  At this stage, _any_ efficiency 
gains in the 1.3.0 release would be most sincerely appreciated.

If it helps, I could help wrlte some more test cases?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933513#3933513

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933513


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Multiple user pages / content management

2006-03-29 Thread mholzner
we are working on a feature called dashboard that will allow users to create 
their own pages. You can of course place a CM portlet on any of those pages.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933512#3933512

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933512


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - JaasSecurityManager try to insert duplicate entry into Timed

2006-03-29 Thread wwwluo
Hi there,

I have a customer site threw the following exception, but it is not 
reproducable in my development environment. The DefaultCacheTimeout is already 
set to 0 to disable the security caching, but JBoss seemed trying to cache it 
anyway according to the stack trace. Could any one look at the stack trace, 
login-config.xml to tell me what goes wrong, and how to reproduce it and fix?

Our environment:
JBoss 4.0.3, Windows XP SP2, JTDS 1.2

Thanks a lot.

-wei


  | login-config.xml
  | 
  | 
  | 
  |
  |   
  |[PHSUserName]
  |[PHSEncryptedPassword]
  |jboss.jca:service=LocalTxCM,name=phsTxDataSource
  |  
  |   
  | 
  | 
  | Stack trace:
  | java.lang.IllegalStateException: Attempt to insert duplicate entry
  | at org.jboss.util.TimedCachePolicy.insert(TimedCachePolicy.java:198)
  | at 
org.jboss.security.plugins.JaasSecurityManager.updateCache(JaasSecurityManager.java:758)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:524)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:315)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:663)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:461)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:311)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:114)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:105)
  | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:661)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:223)
  | at org.hibernate.loader.Loader.loadEntity(Loader.java:1782)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:47)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:41)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2712)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
  | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:781)
  | at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:753)
  | at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
  | at org.hibernate.type.EntityType.resolve(EntityType.java:303)
  | at org.hibernate.type.OneToOneType.assemble(OneToOneType.java:141)
  | at org.hibernate.type.TypeFactory.assemble(TypeFactory.java:398)
  | at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:96)
  | at org.hibernate.cache.entry.CacheEntry.assemble(CacheEntry.java:82)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.assembleCacheEntry(DefaultLoadEventListener.java:520)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:474)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:328)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
  | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:781)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:721)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:714)
  | at phs.res.ResHome.findByPrimaryKey(ResHome.java:55)
  | at 
psm.caseheader.PHSCaseHeaderEJB.getCaseHeaderData(PHSCaseHeaderEJB.java:76)
  | at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |   

[JBoss-user] [JBossCache] - Re: CacheLoaderInterceptor Bottleneck?

2006-03-29 Thread [EMAIL PROTECTED]
Hi, thanks for your test case.  It proves this inefficiency quite well.

I'm working on a proper fix involving locking on a per-fqn level based on 
method and isolation level, but for now I have a fix in CVS which does improve 
efficiency considerably but is not the final fix.  If this "halfway fix" works 
and passes regression testing and the rest, I'd be keen to release it in 1.3.0 
rather than hold out for 1.4.0 for a proper fix.

I'd encourage you to grab the latest JBossCache off CVS HEAD, build it and give 
it a try, see what you think.

Cheers,
Manik 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933508#3933508

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933508


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: root folder of CMS (what is that)

2006-03-29 Thread ilangocal
"gator" wrote : Hi Ilangocal,
  | 
  | Out of the box, I would say the root folder for the CMS looks like this:
  | 
  | http://localhost:8080/portal/content/
  | 
  | under there you will see the "default" directory.  If you want to see
  | a image in the default directory you would enter a URL like:
  | 
  | http://localhost:8080/portal/content/default/images/check.gif
  | 
  | You should be able to create a "gallery" folder using the CMS Admin
  | tool and upload images using this tool. You need to login as "admin" 
  | password "admin" before you will see this tool.
  | 
  | The imagegallery uses URLs like the following to link to the images
  | you upload:
  | 
  | /portal/content/gallery/thumbnails/desert.jpg
  | 
  | Hope this helps

Thanks a lot. I am going to try this out today

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933507#3933507

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933507


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Required indexes missing in JBPM DB script.

2006-03-29 Thread k.pravin
I did that & created  the required indexes.But this is the problem with JBPM DB 
on heavy traffic of user.JBPM should provide the script to create required 
indexex to avoid this problem as a pracuationary measures.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933506#3933506

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933506


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - how to configure mail in JBoss

2006-03-29 Thread sony3002
hello all

in tomcat we can use global naming resource in server.xml

  | 

to create mail session in JNDI

how to do this in J Boss 

thanks
Sony George


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933505#3933505

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933505


---
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=lnk&kid=110944&bid=241720&dat=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 time not in synch with host os time

2006-03-29 Thread [EMAIL PROTECTED]
jboss time is simply the jdk time. Look at configuring the timezone in your jdk.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933504#3933504

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933504


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - [Insight Article] JBoss AOP + JXInsight = Extensible APTM So

2006-03-29 Thread louth
Summary: This article details the integration of JXInsight 4.1.1 with JBoss AOP 
via a custom trace extension that enables the delivery of an extensible 
application performance and test management solution for enterprise Java 
applications. The article is a follow-up to two previous Insight articles which 
discussed the cost benefit analysis of current instrumentation techniques and 
tools.

http://www.jinspired.com/products/jxinsight/jbossaop.html

regards,

William Louth
JXInsight Product Architect
CTO, JInspired

"J2EE tuning, testing and tracing with JXInsight"
http://www.jinspired.com




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933502#3933502

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933502


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: How to get authenticated user's Subject from EJB

2006-03-29 Thread [EMAIL PROTECTED]
Q9
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933501#3933501

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933501


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: @Service + @Management + @Remote + @SecurityDomain?

2006-03-29 Thread elkner
Thanx for the info. Unfortunately I need start() and stop() to fire up/cancel 
timer threads :(

BTW: What are your estimations? Is it possible to have it fixed in RC2?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933500#3933500

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933500


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBOSS and JSF Portlets (Sun RI)

2006-03-29 Thread cooliluv
Hi,

I have the same problem.  I am not using Myfaces but Sun faces.  Roy was going 
to have a look at it.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886147


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933499#3933499

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933499


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How can i configure JBoss 4.0.2 in order to work with MB

2006-03-29 Thread [EMAIL PROTECTED]
The migration is as easy as falling off a log.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933495#3933495

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933495


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - HOw can I get the connection object from JBoss

2006-03-29 Thread mahendra.wadekar
Hi All
I am using JBoss 4.0.3SP1 with Sybase. I am implementing connection pooling 
from JBoss for which I have done all the configuration in Jboss configuration 
files. I am trying to get the connection object from the JBoss using this code

System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
System.setProperty("java.naming.provider.url","jnp://localhost:1099");
System.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
InitialContext ctxt = new InitialContext();
Object obj = ctxt.lookup("java:/SybaseDB");

Now the class of this object (obj) is javax.naming.Reference.

I am not able to get the Connection object from here.
I am on mid of my development so any help on this will be appreciated.
If any one need detail information on my code I can give it.

Thanks in Advance

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933494#3933494

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933494


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: SRP with Web-Service?

2006-03-29 Thread [EMAIL PROTECTED]
Check out the source for the handshake. The only way this could be used with a 
webservice client would be a custom authenticator that did something like a 
DIGEST auth challenge.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933493#3933493

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933493


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: TIP: jBPM and BAM/BI

2006-03-29 Thread [EMAIL PROTECTED]
there are 2 aspects to it.

extracting information from the log db (hibernate queries) and visualization in 
the web console (integrating birt or one of the others into our jsf webapp).

on the other hand there is the collection of information.  we have the logs, 
but it would be nice if users could specify extra information in the process 
definition on how extra statistical data should be generated.  
e.g. a transition counter, a super state timing object, ...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933492#3933492

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933492


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: SecureIdentityLoginModule and LGPL

2006-03-29 Thread [EMAIL PROTECTED]
That is a minor fair use issue that is fine. The password will be externalized 
in the next release. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933491#3933491

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933491


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - JCA Connection Retry and Timeout

2006-03-29 Thread chungmanho
Hi,

  I tried to find this from the JBoss JCA documentation but can't find any 
information about this.  Is there a way to configure the JCA Server connection 
manager to do automatic retry to establish a connection, if it cannot establish 
one the first time?   If so, what steps need to be taken to do this.

  Another question:  is there a way to configure a hard time limit for a 
connection obtained from the connection factory.   I would like the connection 
pool to get the connection back from the client and throw an exception if 
certain time has passed.   I am aware that I can configure an 
IdleTimeoutMinutes attribute, but I actually want to kill the connection even 
when it is not idle.

Thanks,

Dennis.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933489#3933489

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933489


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Problem with HTTP GET binding

2006-03-29 Thread [EMAIL PROTECTED]
My goal is to provide both soap and http bindings for a web service that I am 
currently developing.  I have had no problem deploying the soap/document 
literal version.  

I am starting from wsdl and using wscompile to generate the server side 
artifacts.

The tool of choice on the wiki is wscompile.  wscompile seems to ignore my http 
binding complaining about no soap address. Does anyone have any experience 
trying to create an HTTP port in this manner?  Is this even possible with the 
wscompile?  

Being able to publish a service via both methods goes a long way towards 
providing access to a wider variety of clients.  Hopefully this is not an 
intractable problem :).

Any help would be appreciated.

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933488#3933488

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933488


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with DatabaseServerLoginModule

2006-03-29 Thread manisha8969
finally i could solve it

Instead of 'other' i used my own name and put inside jboss-web.xml as 
'java:/jaas/mypolicy' and it worked.

regards
Manisha

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933486#3933486

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933486


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Keep SFSB stub in HttpSession!?

2006-03-29 Thread [EMAIL PROTECTED]
The difference is in the api used to work with the state. Try both and asses 
the difference.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933485#3933485

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933485


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Serialization of extraneous accessor value in response

2006-03-29 Thread restjohn
Sorry, I forgot to escape my XML.  See my other message for the
intended content.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933482#3933482

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933482


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Serialization of extraneous accessor value in response

2006-03-29 Thread restjohn
I am using JBoss 4.0.3.

I have a wsdl generated by wscompile from a JSE.  A value type returned 
as a respone from one of the operations includes an accessor method 
inherited from a parent class.  Because the accessor has no 
complementary mutator, wscompile does not include a corresponding 
element in the schema type defined in the wsdl.  This is the desired 
effect.  However, when calling the operation from a client, there is 
derserialization error because the soap messge JBoss sends as the 
response includes the value returned by the inherited accessor.

The java class definition of the response type looks like this:

Class GenericResponse {
  |   public String getStatusMessage() {...}
  |   public void setStatusMessage(String statusMessage) {...}
  |   public String getRequestType() {return "REQUESTTYPE"}
  | }
  | 
  | Class ChildResponse extends GenericResponse {
  |   public String getChildAttribute() {...}
  |   public void setChildAttribute() {...}
  | }

The schema definition looks like this:


  |   
  |  
  |  
  |   
  | 

This is ok because I want the statusMessage inherited from 
GenericResponse, but not requestType.

When JBoss serializes an instance of ChildResponse, the message 
contains


  |   ...
  |   ...
  |   ...
  | 

Note the inclusion of the requestType element, which is not part of the 
schema type in the wsdl.  This causes a deserialization error on the client 
side stating the requestType element is unexpected content.  I had this 
same service deployed on the Sun JSAS with no problems.  I can only 
assume that the underlying Axis code serializes objects dynamically by 
inspecting all the accessors of an instance without regard to whether the 
corresponding elements appear in the schema type.  Is this assumption 
true and is there a work around or configuration option I can set to 
resolve this, or should I just change my code?

Thanks for your help.

Robert

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933481#3933481

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933481


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Serialization of extraneous accessor value in response

2006-03-29 Thread restjohn
I am using JBoss 4.0.3.

I have a wsdl generated by wscompile from a JSE.  A value type returned 
as a respone from one of the operations includes an accessor method 
inherited from a parent class.  Because the accessor has no 
complementary mutator, wscompile does not include a corresponding 
element in the schema type defined in the wsdl.  This is the desired 
effect.  However, when calling the operation from a client, there is 
derserialization error because the soap messge JBoss sends as the 
response includes the value returned by the inherited accessor.

The java class definition of the response type looks like this:

Class GenericResponse {
  public String getStatusMessage() {...}
  public void setStatusMessage(String statusMessage) {...}
  public String getRequestType() {return "REQUESTTYPE"}
}

Class ChildResponse extends GenericResponse {
  public String getChildAttribute() {...}
  public void setChildAttribute() {...}
}

The schema definition looks like this:


  
 
 
  


This is ok because I want the statusMessage inherited from 
GenericResponse, but not requestType.

When JBoss serializes an instance of ChildResponse, the message 
contains


  ...
  ...
  ...


Note the inclusion of the requestType element, which is not part of the 
schema type in the wsdl.  This causes a deserialization error on the client 
side stating the requestType element is unexpected content.  I had this 
same service deployed on the Sun JSAS with no problems.  I can only 
assume that the underlying Axis code serializes objects dynamically by 
inspecting all the accessors of an instance without regard to whether the 
corresponding elements appear in the schema type.  Is this assumption 
true and is there a work around or configuration option I can set to 
resolve this, or should I just change my code?

Thanks for your help.

Robert

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933480#3933480

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933480


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: LoginContext retrieving

2006-03-29 Thread hoth256
reostat - 

If I recall correctly, this may have something to do with how your code moves 
you to the next page (I believe "login form") upon clicking the "Logout" 
button. I'm not 100% sure I had agreed with who ever sent me a response, but I 
moved on...

Again, if I recall correctly, a suggestion had been made to not use the request 
dispatcher to move you to the next page, but instead use the response object:

response.sendRedirect("/");

Where response is of type HttpServletResponse and "/" is where you want to go.

The rationale of the suggester, if memory servers, was that the session is 
still somewhat valid in the context of using the request object after a call to 
session.invalidate().

good luck

hoth256

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933476#3933476

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933476


---
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=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   3   >