[JBoss-user] [Installation, Configuration & Deployment] - Re: Configure Jboss for remote Debuging

2006-07-06 Thread anders.hedstrom
anonymous wrote : I added "-Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y" 

if you change this to -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

JBoss will start and you can hook up your IDE to it. If you have suspend=y then 
JBoss won't start until you hook your IDE to it

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: New user to JBossws

2006-07-06 Thread anders.hedstrom
You  could start by reading this: 
http://labs.jboss.com/portal/jbossws/user-guide/en/html/index.html

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Best way to handle logins using JSF + EJBs

2006-07-05 Thread anders.hedstrom
Perhaps this is what you're looking for
HttpSession ses = (HttpSession) facesContext.getExternalContext();
  | ses.getSession(true).setAttribute("user", user);


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Best way to handle logins using JSF + EJBs

2006-07-05 Thread anders.hedstrom
Take a look at Seam http://jboss.com/products/seam

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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: is it possible to generate EntityBeans from DB

2006-07-04 Thread anders.hedstrom
Have a look at http://www.jboss.com/products/seam/SeamHBTools.html

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 installation on a windows network drive or share

2006-06-27 Thread anders.hedstrom
By default, NT Services run as the SYSTEM user. The problem is that the SYSTEM 
user does not have access to network resources.

Maybe this is your problem?


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: System properties

2006-06-22 Thread anders.hedstrom
Have you checked in your $JBOSS_HOME/server/all/lib directory?

I've JBoss 4.0.4GA on my machine (from the zipped distribution) and the jar 
file you're looking for is present in the above mentioned directory on my 
installation.



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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Problems configuring JBoss for MySQL with EJB3

2006-06-22 Thread anders.hedstrom
You get "connection refused".

Is your MySQL Server running? Is it running on the standard port? Is it on your 
local machine? If not, is there any firewalls between your jboss instance and 
your mysql instance?

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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: Plain DAO's and @PersitenceContext

2006-06-01 Thread anders.hedstrom
anonymous wrote : Why in heavens name, would I want to add a service locator 
between my As and DAO?

Why in heavens name, would you want to use a service locator between your As 
and DAO?

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

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBOSS Datasource

2006-06-01 Thread anders.hedstrom
1. Copy the example file
2. Edit the file to match your settings
3. Drop it in the $JBOSS_HOME/server/$configuration/deploy directory
4. That's it 

Of course you need the jdbc driver in $JBOSS_HOME/server/$configuration/lib as 
well.

Now you can look it up using JNDI or inject it if you use EJB3

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

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBOSS Datasource

2006-05-31 Thread anders.hedstrom
you can also have a look at

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

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

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

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBOSS Datasource

2006-05-31 Thread anders.hedstrom
Take a look in...

$JBOSS_HOME/docs/examples/jca



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

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


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Endpoint: http://host/srv/uri:Test Problem

2006-05-18 Thread anders.hedstrom
I'm upgrading our system from JBoss 4.0.3SP1 to JBoss 4.0.4 GA and using 
jbossws14 as soap stack.

When I try to consume a webservice with an endpoint with a colon (:) in the uri 
I get an exception. This is because of a bug in jboss-remoting. See 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=79401

According to the JIRA issue this is fixed in version 2.0.0 Beta2 see 
http://jira.jboss.com/jira/browse/JBREM-406. This is not the version that JBoss 
4.0.4 GA is shipped with...

To get around this problem, I downloaded the latest jboss-remoting and applied 
the code change my self and replaced the file jboss-remoting.jar in 
$JBOSS_HOME/server/$conf/lib

Now I can consume all webservices that I consumed using JBoss 4.0.3SP1.

Maybe this will help someone out.

Cheers


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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: valueChangeListener working ?

2006-05-12 Thread anders.hedstrom
have you declared the method you're calling in your component?

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943193#3943193

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: invalid invocation error during ejb client call

2006-05-09 Thread anders.hedstrom
You're trying to invoke the local interface from a remote client - that won't 
work. You need to invoke the remote interface of the ejb

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Seam component hides managed bean with same name

2006-05-07 Thread anders.hedstrom
My guess is that if you use a h:dataTable you are using the same name in 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941734#3941734

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Getting a relative path

2006-04-28 Thread anders.hedstrom
I guess you could use this:

System.getProperty("jboss.server.config.url");

or

org.jboss.system.server.ServerConfigLocator.locate().getServerConfigURL();

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WSDL first to SLSB

2006-04-25 Thread anders.hedstrom
Create a SLSB that implements the methods defined in you SI that is generated 
by wscompile.

Package your ejb.

anonymous wrote : The standard deployment descriptor for EJB components 
ejb-jar.xml, declares the service endpoint.


  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";
  |  version="2.1">
  |  
  |
  |  OrganizationBean
  |  
com.underworld.crimeportal.OrganizationEndpoint
  |  
com.underworld.crimeportal.ejb.OrganizationSLSB
  |  Stateless
  |  Container
  |
  |  
  |
  | 

anonymous wrote : Additionally, we need the J2EE Web Service deployment 
descriptor, webservices.xml


  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:impl="http://com.underworld.crimeportal/ws4ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd";
  |  version="1.1">
  | 
  |  
  |
OrganizationServiceEJB
  |META-INF/wsdl/OrganizationServiceEJB.wsdl
  |
META-INF/OrganizationServiceEJB_Mapping.xml
  |
  |  Organization
  |  OrganizationEndpointPort
  |  
com.underworld.crimeportal.OrganizationEndpoint
  |  
  |OrganizationSLSB
  |  
  |
  |  
  |
  | 


You need to add your mapping file and wsdl to the archive as well...then you 
should be ready to deploy it.

I hope this helps you...

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WSDL first to SLSB

2006-04-25 Thread anders.hedstrom
Have a look at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EEServerEJB

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 3.0, JBoss 4.0.4.RC2 JNDI Binding

2006-04-20 Thread anders.hedstrom
You do a look up on the remote interface class nameanonymous wrote : 
INatPersLst persLstI = 
(INatPersLst)initCtx.lookup(de.home.test.interfaces.INatPersLstRemote.cla
  | ss.getName()); this was the default jndi binding in previous versions of 
the jboss ejb3 implementation. Now your ejb3 is bound to /remote. If 
your ejb3 is  packaged inside a ear the ear name is prepended, 
//remote 



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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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 3.0, JBoss 4.0.4.RC2 JNDI Binding

2006-04-20 Thread anders.hedstrom
Have a look at
http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem with @Resource and JBOSS

2006-04-20 Thread anders.hedstrom
Are you sure your using the correct jndi name?

I'm using jboss-4.0.4.CR2 as well, and here's how I do it:

I got the following line in my -ds.xml file:


  |   
  |   
  | jdbc/MyDS
  | ...
  | 

and I got the following code in my EJB;

@Resource(mappedName="java:jdbc/MyDS")
  | protected DataSource ds;

And it works fine...

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem with @Resource and JBOSS

2006-04-20 Thread anders.hedstrom
Are you sure your using the correct jndi name?

I'm using jboss-4.0.4.CR2 as well, and here's how I do it:

I got the following line in my -ds.xml file:


  |   
  |   
  | jdbc/MyDS
  | ...
  | 

and I got the following code in my EJB;

@Resource(mappedName="java:jdbc/MyDS")
  | protected DataSource ds;

And it works fine...

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem with @Resource and JBOSS

2006-04-20 Thread anders.hedstrom
Are you sure your using the correct jndi name?

I'm using jboss-4.0.4.CR2 as well, and here's how I do it:

I got the following line in my -ds.xml file:


  |   
  |   
  | jdbc/MyDS
  | ...
  | 

and I got the following code in my EJB;

@Resource(mappedName="java:jdbc/MyDS")
  | protected DataSource ds;

And it works fine...

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem with @Resource and JBOSS

2006-04-20 Thread anders.hedstrom
Try

@Resource(mappedName="java:")
  | protected DataSource ds;

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

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


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: endpoint handler

2006-04-10 Thread anders.hedstrom
Have a look at
http://labs.jboss.com/portal/jbossws/user-guide/en/html/headers-handlers.html#handlers

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

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


---
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: install jboss without GUI

2006-04-10 Thread anders.hedstrom
download the tar ball dist and extract it.

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

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


---
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] [Beginners Corner] - Re: A JBoss configuration problem

2006-03-28 Thread anders.hedstrom
You have an example data source configuration in 
$JBOSS_HOME/docs/examples/jca/mssql-ds.xml Just change the settings to fit your 
environment. You need to add your MSSQL driver to 
$JBOSS_HOME/server/your_configuration/lib as well. Then you should be all set 
up to use it from your application(s).

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

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


---
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: Make Jboss as a service in linux

2006-03-21 Thread anders.hedstrom
have you read this
http://wiki.jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux

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

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


---
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: javax.naming.NameNotFoundException at jboss4.0.3 ,ejb3.0

2006-03-21 Thread anders.hedstrom
anonymous wrote : public class Client {
  | public static void main(String[] args) throws Exception {
  | Context ctx = new InitialContext();
  | Sample ejb = (Sample)ctx.lookup(Sample.class.getName());
  | ejb.func();
  | } 

try this instead


  | public class Client {
  | public static void main(String[] args) throws Exception {
  | Context ctx = new InitialContext();
  | Sample ejb = (Sample)ctx.lookup("SampleBean/remote");
  | ejb.func();
  | } 

read this for more info
http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html



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

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


---
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: using a webservice in jboss-4.0.4rc1

2006-03-21 Thread anders.hedstrom
The version of EJB3 that comes with JBoss AS 4.0.4RC1 doesn't support the web 
service ref yet

see: http://jboss.com/index.html?module=bb&op=viewtopic&t=79178

The workaround I used when moving my application from EJB2.1 to EJB3 was to not 
follow the way you're supposed to consume web services within a EJB. I instead 
create the actual soap xml myself and code directly against SAAJ. 

private SOAPMessage callWS(String soapXml, URL endpoint, String soapAction) 
throws SOAPException, IOException{
  |MessageFactory msgFactory = MessageFactory.newInstance();
  |MimeHeaders mimeHeaders = new MimeHeaders();
  |mimeHeaders.addHeader("Content-Type", "text/xml; charset=UTF-8");
  |if(soapAction != null && soapAction.length() > 0){
  |   mimeHeaders.addHeader("SOAPAction",soapAction);
  |}
  |ByteArrayInputStream in = new ByteArrayInputStream(soapXml.getBytes());
  |SOAPMessage reqMsg = msgFactory.createMessage(mimeHeaders, in);
  | 
  |SOAPConnectionFactory conFactory = SOAPConnectionFactory.newInstance();
  |SOAPConnection conn = conFactory.createConnection();
  | 
  |return conn.call(reqMsg, endpoint);
  | }

Cheers
//Anders

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

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


---
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: Simple Web Service with JBoss

2006-03-20 Thread anders.hedstrom
anonymous wrote : Are there any tutorials showing how? 

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

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

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


---
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: Can JBoss AS run as non-root user in AIX?

2006-03-18 Thread anders.hedstrom
this sounds to me as a permission issue - does the user you are using to run 
JBoss with have write permissions in all needed directories? An easy way to fix 
this (if this is your problem) is to change the owner of the $JBOSS_HOME and 
all it sub directories

if your user is named jboss, then you could issue this command.

sudo chown -R jboss:jboss $JBOSS_HOME

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

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


---
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: Proxy Server and EJBs - confused.

2006-03-18 Thread anders.hedstrom
anonymous wrote : But surely there must be somewhere to tell the JBOSS client 
where to find the proxy server
  | 
set the java system properties for this

Properties p = new Properties();
  | p.setProperty("http.proxyHost","your.proxy.server.com");
  | p.setProperty("http.proxyPort","8080");
  | 
  | System.setProperties(p);

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

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


---
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] [Remoting] - Bug in org.jboss.remoting.InvokerLocator

2006-03-17 Thread anders.hedstrom
Hi, 

I'm using JBoss 4.0.4RC1. 

In a SLSB a call a web service that has the following endpoint: 
http://host:port/services/uri:Test

When I try to execute the call, I get a StringIndexOutOfBoundsException. I've 
looked at the source code and located the problem to the class InvokerLocator 
at line 135:

int p = tmp.lastIndexOf(":");

To fix this a changed ti code to the following:


  | int p = tmp.indexOf(":");
  | if(i != -1)
  |p = (p < i ? p : -1);
  | 

Then it all works fine.

Cheers
/Anders

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

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


---
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] - jbossws - Invalid byte 2 of 2-byte UTF-8 sequence

2006-03-17 Thread anders.hedstrom
Hi,

I consume a external web service and when I use jboss-ws4ee soap stack it works 
fine, but when a switch to jbossws soap stack I get the following exception: 
Invalid byte 2 of 2-byte UTF-8 sequence

When I look att the data received from the web service I can find one sequence 
of characters that I guess causes this exception,


  | ...
  |   MALM&_#_x_D_6;
  | 
(&_#_x_D_6; -> I've added the underscores, otherwise this forum transalated it 
to the correct character, Ö, so the underscores isn't present in the actual 
soap message...)

This character (&_#_x_D_6;) is the swedish character 'Ö' that the provider of 
the web service has encoded this way. Is this an invalid encoding? It passes 
thru the ws4ee soap stack but not the jbossws soapstack...

Here's the stack trace


  | 2006-03-17 08:52:05,960 ERROR [STDERR] javax.xml.soap.SOAPException: Could 
not transmit message
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:162)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:66)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
test.ejb3.WsClientEJB.callWS(WsClientEJB.java:300)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
test.ejb3.WsClientEJB.testInvoice(WsClientEJB.java:266)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
test.ejb3.WsClientEJB.testLOS(WsClientEJB.java:228)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:219)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:660)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:513)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:290)
  | 2006-03-17 08:52:05,960 ERROR [STDERR]  at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:344)
  | 2006-03-17 08:52:05,960 

[JBoss-user] [JBossWS] - Re: Loggin all incoming soap messages

2006-03-17 Thread anders.hedstrom
If your using the jboss-ws4ee soap stack you would set the log level to debug 
for org.jboss.axis

What I do is that I create a new appender and a new category in log4j.xml. The 
following example will log all incomming soap requests and the following 
response sent back the caller.

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



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

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


---
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: Confused: JBoss 4.0.4RC1, JBossWS, EJB3

2006-03-17 Thread anders.hedstrom
my guess is that you have downloaded the binary distribution of JBoss 4.0.4RC1 
and then as the wiki says: 

anonymous wrote : 
  | With the binary distribution, you will find the JBossWS service archives in
  | 
  |${jboss.home}/docs/examples/jbossws
  | 

You can install it manually, this is also described in the wiki

If you want to do this manually, these are the steps
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 


If you don't understand these instructions, here's an explanation

1. delete the following files/directory (if present):
  ${jboss.home}/server//deploy/jboss-ws4ee.sar
  ${jboss.home}/client/jboss-ws4ee-client.jar
  ${jboss.home}/client/axis-ws4ee.jar
2. Create a new directory called jbossws.sar at this location 
${jboss.home}/server//deploy/
3. Extract the contents of the file 
${jboss.home}/docs/examples/jbossws/jbossws.sar into the directory you just 
created
4. Copy the file ${jboss.home}/docs/examples/jbossws/jbossws-client.jar to 
${jboss.home}/client


Hope this helps




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

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


---
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] - How to consume a web service from a SLSB EJB3?

2006-03-14 Thread anders.hedstrom
Hi,

I'm trying to consume a web service from my SLSB, but I can't get hold of the 
service reference. Instead of using injection (I can't find the annotation 
javax.xml.ws.WebServiceRef anywhere, so I guess that it's not implemented yet), 
I just declare the service ref myself in the dd and try to get it via JNDI - 
without any luck...

ejb-jar.xml snippet

  | 
  |WsClientEJB
  |
  |   testEnv
  |   java.lang.String
  |   VALUE FROM DD
  |
  |
  |   service/CountrySrv
  |   test.ejb3.ws.CountryInfoService
  |   META-INF/wsdl/country-srv.wsdl
  |   META-INF/wsdl/mapping.xml
  |
  | 

SLSB code:

@Stateless
  | public class WsClientEJB implements WsClient {
  |private static final Logger log4j = Logger.getLogger(WsClientEJB.class);
  | 
  |public String getCountryCapital(String countryISOCode){
  |   try {
  |  InitialContext ic = new InitialContext();
  |  log4j.info(ic.lookup("java:comp.ejb3/env/testEnv"));
  |  CountryInfoServiceSoapType ws = 
  |  
((CountryInfoService)ic.lookup("java:comp.ejb3/env/service/CountrySrv")).getCountryInfoServiceSoap();
  |  return ws.capitalCity(countryISOCode); 
  |   } catch (NamingException e) {
  |  log4j.error(e.getMessage());
  |  return e.getMessage();
  |   } catch (ServiceException e) {
  |  log4j.error(e.getMessage());
  |  return e.getMessage();
  |   } catch (RemoteException e) {
  |  log4j.error(e.getMessage());
  |  return e.getMessage();
  |   }
  |}
  | }

The output on the console when calling this method:
15:36:42,515 INFO  [WsClientEJB] Entering getCountryCapital!
  | 15:36:42,515 INFO  [WsClientEJB] VALUE FROM DD
  | 15:36:42,515 ERROR [WsClientEJB] service not bound

As you can see I can find the env-entry in the dd via JNDI (it took me some 
time to figure out the it was bound under comp.ejb3 context), but I can't look 
up the service-ref . It's not bound? 

This is how I get it when using EJB 2.1. How should I get it in EJB3? Any ideas?

Cheers
//Anders




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

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


---
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: Ports going crazy...

2006-03-11 Thread anders.hedstrom
try using using the -b flag with netstat

netstat -b

This will display the executable and PID.

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

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


---
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 - 4.0.3SP1 Startup-Problems

2006-03-10 Thread anders.hedstrom
You need Java 5 on your machine to use ejb3. You currently use version 1.4.2.

Upgrade your JDK to version 5.



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

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


---
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: JBoss Web Service with SSL problem

2006-03-10 Thread anders.hedstrom
see
http://jboss.com/index.html?module=bb&op=viewtopic&t=70709

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

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


---
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] - Re: Error opening zip file: pluggable-instrumentor.jar

2006-02-23 Thread anders.hedstrom
I added the full path to pluggable-instrumentor.jar and now the startup script 
works fine again. Strange... I guess this is not a JBoss issue.

Thanks Kabir!

Cheers
//Anders

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

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


---
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] - Error opening zip file: pluggable-instrumentor.jar

2006-02-23 Thread anders.hedstrom
Hi,

I'm using jboss-4.0.3SP1 with jdk 1.5.0_06 on Debian. I've installed JBoss AOP 
1.3.5 and made all changes needed to run it with jdk5.

It all works fine when I start JBoss from the console like this:

[EMAIL PROTECTED] ./run.sh

But...when I try to start JBoss from my startup script I get the following 
error:

Error opening zip file: pluggable-instrumentor.jar
  | Error occurred during initialization of VM
  | agent library failed to init: instrument

The call made from my startup script looks like this:

  | su - jboss -c "$JBOSS_START_SCRIPT > /dev/null 2> /dev/null &"

When I remove the piping of the output made from JBoss I get this printed on my 
screen:

=
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /usr/jboss-4.0.3SP1
  | 
  |   JAVA: /usr/local/jdk1.5.0_06/bin/java
  | 
  |   JAVA_OPTS: -server -Xms128m -Xmx128m 
-javaagent:pluggable-instrumentor.jar -Dprogram.name=run.sh
  | 
  |   CLASSPATH: 
/usr/jboss-4.0.3SP1/bin/run.jar:/home/anders/jdk1.5.0_06/lib/tools.jar
  | 
  | =
  | 
  | Error opening zip file: pluggable-instrumentor.jar
  | Error occurred during initialization of VM
  | agent library failed to init: instrument
  | 

Any ideas why or what I can do to make JBoss boot from my script? 
As I said before, JBoss boots fine when I execute run.sh directly in the 
console...

[EMAIL PROTECTED] ./run.sh
  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /usr/jboss-4.0.3SP1
  | 
  |   JAVA: /usr/local/jdk1.5.0_06/bin/java
  | 
  |   JAVA_OPTS: -server -Xms128m -Xmx128m 
-javaagent:pluggable-instrumentor.jar -Dprogram.name=run.sh
  | 
  |   CLASSPATH: 
/usr/jboss-4.0.3SP1/bin/run.jar:/home/anders/jdk1.5.0_06/lib/tools.jar
  | 
  | =
  | 
  | 16:02:06,393 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 16:02:06,395 INFO  [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: 
CVSTag=JBoss_4_0_3_SP1 date=200510231054)
  | 16:02:06,397 INFO  [Server] Home Dir: /usr/jboss-4.0.3SP1
  | 16:02:06,398 INFO  [Server] Home URL: file:/usr/jboss-4.0.3SP1/
  | ...

One more thing, the startup script worked fine before I installed JBossAOP 1.3.5


All help or any idea appreciated!

Cheers
//Anders

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

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


---
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: Edit JBoss generated SOAP message

2006-02-21 Thread anders.hedstrom
Maybe this will help you:

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

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: webservice arguments are need to be in order ?

2006-02-20 Thread anders.hedstrom
In your wsdl file you can see that your complex type login is based on sequence 
elements. Sequence defines the exact order of child elements. There is another 
XML Schema element named all, that allows the elements in it to appear in any 
order.

//Anders

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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: Can I install two jboss in the same computer?

2006-02-09 Thread anders.hedstrom
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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: Port 1098

2006-02-08 Thread anders.hedstrom
here you got all ports

see

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

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: Does JBOSS sell email addresses?

2006-02-07 Thread anders.hedstrom
I don't receive any spam e-mails on the email address that I've registered with 
JBoss...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: How to download and install JBossWS?

2006-02-06 Thread anders.hedstrom
download it from the CVS repository

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

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: port number of an JBoss server.

2006-02-06 Thread anders.hedstrom
see: http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Error: Invalid byte 1 of 1-byte UTF-8 sequence

2006-02-02 Thread anders.hedstrom
The character needs to be UTF-8 encoded:


  | Content-Type: text/xml; charset=utf-8
  | 
  | Accept: application/soap+xml, application/dime, multipart/related, text/*
  | 
  | User-Agent: Axis/1.2alpha
  | 
  | Host: 127.0.0.1
  | 
  | Cache-Control: no-cache
  | 
  | Pragma: no-cache
  | 
  | SOAPAction: "doProcess"
  | 
  | Content-Length: 353
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  | 
  | 746A7570-A9D2-393A-0A3A-B92EE2F5A823
  | ¢
  | 
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JAVA_HOME not set ERROR

2005-12-23 Thread anders.hedstrom
Hi,

You should set the environment variable JAVA_HOME to your JDK directory. In my 
case it looks like this.

JAVA_HOME=C:\jdk1.5.0_04

Merry X-mas

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: stateful session bean as a webservice (JBoss 4.0.3)???

2005-12-20 Thread anders.hedstrom
You can only expose Stateless Session Beans as web services according to the 
spec.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: deserialization speed

2005-12-15 Thread anders.hedstrom
"[EMAIL PROTECTED]" wrote : 
  | Just for curiosity are you building with jdk5?
  | 

Yes.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: When I deploy DukesBank.ear encounter errors!

2005-12-14 Thread anders.hedstrom
anonymous wrote : 2005-12-14 21:57:15,241 ERROR 
[org.jboss.deployment.MainDeployer] Could not create deployment: file:
  | 
/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp36859JBossDukesBank.ear-contents/bank-ejb.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for err
  | or messages.

If you look a little bit further up in your stack trace, you probably will find 
the answer to why JBoss won't deploy your app

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: deserialization speed

2005-12-13 Thread anders.hedstrom
Hi,

I've done some testing in this area. I've developed a small benchmark 
application, see http://jira.jboss.com/jira/browse/JBWS-75

I've tested the benchmark app by deploying it on JBoss 5.0.0 alpha, JBoss 
4.0.3SP1. Then I used SOAPSonar from Crosscheck and executed the performance 
test on echoArrayOfSimpleUserType. The array I was echoing containd 120 Simple 
User Types. The performance test was a duration test, it called the web service 
for 60 seconds. I got the following results:

JBoss 4.0.3SP1 - Total Requests=37, Average Request Bytes=11839, Total Request 
Bytes=438043, Average Response Bytes=11519, Total Response Bytes=426204, 
TPS=0.61, Throuphput (Bytes/Second)=14168
  | 
  | JBoss 5.0.0alpha - Total Requests=348, Average Request Bytes=11873.1, Total 
Request Bytes=4119970, Average Response Bytes=11839, Total Response 
Bytes=4108130, TPS=5.51, Throuphput (Bytes/Second)=130605
  | 

I've also implemented the benchmark app for AXIS and deployed it on Tomcat 5.0 
with AXIS 1.1, then I got the following result executing the same performance 
test:
Tomcat5.0 w. Axis1.1 - Total Requests=3065, Average Request Bytes=9.4, 
Total Request Bytes=34080900, Average Response Bytes=9.4, Total Response 
Bytes=34080900, TPS=48.65, Throuphput (Bytes/Second)=1081930
  | 

Cheers

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Array of boolean problem

2005-12-13 Thread anders.hedstrom
The way I like to handle this issue is the following:

First I've the defined method in the interface:

public void testArrayOfBoolean(boolean[] responses) throws RemoteException;

With this I run wscompile to generate the wsdl.

Then I delete my interface and run wscompile again using the wsdl to generate 
all needed artifacts. wscompile will create the following method signature in 
the interface:

public void testArrayOfBoolean(BooleanArray responses) throws RemoteException;

There should be no need to edit the mapping file.

Cheers




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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: database table cleanup when jboss is shutdown

2005-12-06 Thread anders.hedstrom
Look at your 
%JBOSS_HOME%\server\default\\ejb3.deployer\META-INF\persistence.properties
 
file, my guess is that you have the following line in that file: 
hibernate.hbm2ddl.auto=create-drop. If you don't want the database to be 
dropped when you shutdown JBoss, change the value to create or to the value 
that fits your needs.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Starting JBoss in debug mode

2005-12-06 Thread anders.hedstrom
What you're doing is that you start JBoss with remote debugging enabled. When 
you do that you need to connect a remote debugger to your JBoss instance and 
then you will see JBoss continue booting...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: install jboss portal

2005-12-05 Thread anders.hedstrom
I just followed the JBoss Portal User Guide. Everything worked fine, the only 
thing was that I needed to explicit configure the hibernate dialect as stated 
in section 2.5.4.

anonymous wrote : And, should i've my sql running before trying to start jboss 
AS, that would run jboss portal? 

Yes, JBoss Portal creates all database tables when starting up if they don't 
already exist.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Must include type attribute for handler deployment mess

2005-11-30 Thread anders.hedstrom
anonymous wrote : A simple java client should have a main function or not? 
Depends on how you gonna run your client. In the examples you've looked at the 
client is ran as a JUnit Test Case. If you want to run your client stand-alone, 
of course you will need a main method.

If you deploy ws4ee-samples-server-jse.war from the examples and you want to 
write a a simple java client the consumes it
Use wscompile to generate the needed artifacts from the wsdl file. 
  | Write you main class and use of the generated artifacts
  | 
  | config.xml for wscompile
  | http://java.sun.com/xml/ns/jax-rpc/ri/config";>
  |   |   http://localhost:8080/ws4ee-samples-server-jse/Organization?wsdl";
  |   | packageName="show.me">
  |   |   
  |   | 
  | 
  | Your main class:
  | 
  |   | package show.me;
  |   | 
  |   | /**
  |   |  * A SimpleWSClient.
  |   |  * 
  |   |  */
  |   | public class SimpleWSClient
  |   | {
  |   | 
  |   |public static void main(String[] args)
  |   |{
  |   |   try
  |   |   {
  |   |  OrganizationService_Impl srv = new OrganizationService_Impl();
  |   |  Organization port = srv.getOrganizationPort();
  |   |  System.out.println(port.getContactInfo("Test"));
  |   |   }
  |   |   catch (Exception e)
  |   |   {
  |   |  e.printStackTrace();
  |   |   }
  |   |}
  |   | }
  | 
  | output:
  | The 'Test' boss is currently out of office, please call again.
  | 
  | http://jboss.com/wiki/Wiki.jsp?page=JBossWS
  | http://java.sun.com/webservices/docs/1.4/tutorial/doc/index.html
  | https://bpcatalog.dev.java.net/nonav/soa/standalone-client/frames.html
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Must include type attribute for handler deployment mess

2005-11-30 Thread anders.hedstrom
Here's a good place for you to start at:

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JBooss and java.net.SocketException: Connection reset

2005-11-30 Thread anders.hedstrom
see:

http://jboss.com/index.html?module=bb&op=viewtopic&t=70419

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
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 and JNDI problem.

2005-11-30 Thread anders.hedstrom
see:

http://jboss.com/index.html?module=bb&op=viewtopic&t=70419

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem on startup - run.sh: Missing file: /usr/jre1.5.0

2005-11-25 Thread anders.hedstrom
Install the JDK5 and point your JAVA_HOME to that, just as the message tells 
you.

Cheers
//Anders 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Jboss can't connect after DB has restarted

2005-11-25 Thread anders.hedstrom
http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: JBossAOP - j2ee application - frozen class?

2005-11-24 Thread anders.hedstrom
I've created a JIRA issue for this: http://jira.jboss.com/jira/browse/JBAOP-187

In the example that I've attached I only get the "frozen class" message. I 
don't get the "Illegal access" message.

Cheers
//Anders

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Changed webservice context behavior in 4.0.3?

2005-11-24 Thread anders.hedstrom
In your EJB's jboss.xml file.

ex.


  | 
  | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";>
  | 
  | 
  |   
  | 
  |   MySLSB
  |   
  | SLSBWS
  | /ws/*
  |   
  | 
  |   
  | 


Cheers
//Anders

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re:

2005-11-24 Thread anders.hedstrom
I made a quick and dirty test from my machine and I had no problem making a 
call to Amazon web service. 

I'm using JBoss 4.0.3SP1 with JDK5 on WinXP. I created all artifacts with 
jwsdp-1.6 wscompile. (I've tested with JBoss 4.0.2 as well, with the same 
result)

Are you sitting behind a proxy server? I am. In case of I don't set the system 
properties for the proxy server I get a connection timeout exception.

Cheers
//Anders

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re:

2005-11-24 Thread anders.hedstrom
anonymous wrote : 2005-11-23 20:46:34,829 ERROR 
[org.apache.axis.client.Service] WSDL2Java emitter timed out (this oft
  | en means the WSDL at the specified URL is inaccessible)!

Pretty much says it all, doesn't it? Can you access the wsdl thru your browser?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: JBossAOP - j2ee application - frozen class?

2005-11-24 Thread anders.hedstrom
anonymous wrote : Does this occur when you run without using AOP as well?
No, it doesn't...

I did the search you suggested, but it didn't help me out much...

Cheers
//Anders

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: SSL in 4.0.3, server seems to be only listeneng with HTT

2005-11-16 Thread anders.hedstrom
anders.hedstrom wrote :  I run JBoss 4.0.3 on Win2K win Sun JDK5
Should be WinXP

anders.hedstrom wrote : https://localhost:8080/jmx-console
Should be: https://localhost:8443/jmx-console

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

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


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: SSL in 4.0.3, server seems to be only listeneng with HTT

2005-11-16 Thread anders.hedstrom
I don't know what your problem is, but I can tell you that I run JBoss 4.0.3 on 
Win2K win Sun JDK5. All I need to do to enable SSL is to uncomment this section 
in %JBOSS_HOME%/server//deploy/jbossweb-tomcat55.sar/server.xml


  |  
  | 

Then if I want to secure the jmx-console, I uncomment the security constraint 
section in the web.xml file for the jmx-console web application. I  then needed 
to add the following to the web.xml file because it was missing:

  | 
  |   BASIC
  |   JBoss JMX Console
  | 
  | 

I also uncomment the security-domain section in the jboss-web.xml file for the 
web application as well.

Then if I direct my browser to the following URL 
https://localhost:8080/jmx-console I get prompted to accept my certificate and 
then for usr/pwd. It works just fine...

Cheers
//Anders


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

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


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL 5.0

2005-11-14 Thread anders.hedstrom
We use stored procedures that returns multiple resultsets, and when I upgrade 
the J/Connector to the latest one, the working code stop working. The multiple 
resultsets are not returned for some reason. 

Instead of trying to figure out why, we just use the version of J/Connector 
that we know works (in our case 3.1.7).



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

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


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss + MySQL 5.0

2005-11-14 Thread anders.hedstrom
We're using MySQL 5.0.15 and it works just fine. The only thing we've 
encountered is with the J/Connector, its behaives different between different 
versions. The version we're using is 3.1.7.



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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Text Only Install

2005-11-09 Thread anders.hedstrom
Why don't you just use the zipped version instead of the installer. Then you 
just need to unpack the archive.

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JMS problem

2005-11-09 Thread anders.hedstrom
Matrix1234 wrote : do you mean, i should start my jboss with run.bat -c all 
option so my jms will work ? 
no, the default configuration has the JMS service deployed

Matrix1234 wrote : i am running from command line. do i have deploy this code ?
no

Matrix1234 wrote : can not i run from the command line ? 
yes

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JMS problem

2005-11-09 Thread anders.hedstrom
anonymous wrote : Constant that holds the name of the environment property for 
specifying the list of package prefixes to use when loading in URL context 
factories. The value of the property should be a colon-separated list of 
package prefixes for the class name of the factory class that will create a URL 
context factory. This property may be specified in the environment, an applet 
parameter, a system property, or one or more resource files. The prefix 
com.sun.jndi.url is always appended to the possibly empty list of package 
prefixes.
  | 
  | The value of this constant is "java.naming.factory.url.pkgs". 


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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JMS problem

2005-11-09 Thread anders.hedstrom
I don't really understand your question...

But you start JBoss using the run.bat file located in the bin directory. If you 
don't supply any arguments, JBoss will start the default configuration, if you 
supply run.bat -c all, JBoss will start the all configurationand so on...

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: JMS problem

2005-11-08 Thread anders.hedstrom

  | Hashtable env = new Hashtable();
  | env.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
  | env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
  | Context context = new InitialContext(env);
  | 

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problem with EJB timer perssistance

2005-11-07 Thread anders.hedstrom
maybe this is related to your problem

http://www.jboss.com/?module=bb&op=viewtopic&p=3905545

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

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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 3.2.5 MS-SQL Problems on Fedora

2005-10-31 Thread anders.hedstrom
Try to ues the jTDS driver instead of Microsofts. You can download it from this 
location:
http://jtds.sourceforge.net/

//Anders =)

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

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


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Custom parameter in wsdd

2005-10-29 Thread anders.hedstrom
Have you looked at javax.xml.rpc.server.ServiceLifecycle?

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

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


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Help please

2005-10-26 Thread anders.hedstrom
use wscompile from JWSDP

you can start with having a look at: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSServerJSE



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

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


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: in which library can I find org.jboss.system

2005-10-23 Thread anders.hedstrom
$JBOSS_HOME/lib/jboss-system.jar

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

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


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Turn off Verifier

2005-10-17 Thread anders.hedstrom
Hi,

in ejb-deployer.xml in your deploy directory you can change the following 
attributes


  | 
  | true
  | 
  | false
  | 
  | true
  | 
  | true
  | 

You can change these setting in the JMX console as well, but then they will go 
back to their original values when you restart JBoss.


//Anders 

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Correct directory in JBoss where config files are hot-de

2005-10-17 Thread anders.hedstrom
Hi again,

I tested my suggested solution, and it didn't work. It seems like JBoss will 
only redeploy the exploded application if you edit the deployment descriptor.

In my case I've a web application that I deploy exploded:


  | webapp.war (exploded)
  ||---WEB-INF
  ||---web.xml  (changed this one, JBoss redeployed app)
  ||---jboss-web.xml (changed this one, JBoss didn't redeploy app)
  ||---my-conf.xml(changed this one, JBoss didn't redeploy app)
  | 

Cheers

//Anders

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Correct directory in JBoss where config files are hot-de

2005-10-16 Thread anders.hedstrom
Hi,

have you tried to deploy your ear exploded. Then you could keep your file(s) in 
your folder structure and JBoss will redeploy your application every time you 
change the files.

Cheers
//Anders



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: how to obtain username of caller for a web service that

2005-10-16 Thread anders.hedstrom
Hi,

implement javax.xml.rpc.server.ServiceLifecycle interface.


public class SubmitSMSImpl implements ServiceLifecycle
  | {
  | 
  | protected javax.xml.rpc.server.ServletEndpointContext ctx:
  | 
  | public void init(Object context){
  |  ctx = context;
  | }
  | 
  | public void destroy(){
  |  ctx = null;
  | }
  | 
  | 
  | public String saySomething(String something){
  |System.out.println(name);
  |//Get caller name here and store in database if possible
  |
  |Principal user = ctx.getUserPrincipal();
  |
  |// do whatever
  |return something;
  | }
  | }   


//Anders

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: SecureWS & 4.0.3 - client certificate needed?

2005-10-16 Thread anders.hedstrom
see:
 
http://jira.jboss.com/jira/browse/JBWS-450
and
http://jboss.com/index.html?module=bb&op=viewtopic&t=70709



//Anders

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - javax.net.ssl.trustStore / javax.net.ssl.keyStore???

2005-10-11 Thread anders.hedstrom
Hi,

I've got an SLSB that acts as a web service client. It accesses the web service 
over HTTPS. I set the path and password to the truststore in the following 
system propeties javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword. 
This works fine when the application runs in JBoss 4.0.2. But, if I run it in 
JBoss 4.0.3 it doesn't work. I've looked at the source code for JBoss 4.0.3 and 
I could see that it looks for the following system properties for the path and 
password javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword. So if I 
change my application to use these properties instead everything works just 
fine.

I've always thought that javax.net.ssl.trustStore[Password] was the system 
properties to use for the client side and javax.net.ssl.keyStore[Password] was 
for the server side. Am I wrong?

Cheers

//Anders =)

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Secure Webservice under SSL

2005-09-05 Thread anders.hedstrom
Secure it in your web.xml


  | 
  | YourServletName
  | /your_pattern
  | POST
  | 
  | 
  | CONFIDENTIAL
  | 
  | 

Create a certificate with keytool and enable the SSL in 
/server/configuration/deploy/jbossweb-tomcat55.sar/server.xml

  | 

   
See:
http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWS


Cheers
Anders

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Web Serivce Client Performance?

2005-09-05 Thread anders.hedstrom
Hi,

I've a SLSB that acts as a web service client. The web service my SLSB is 
calling returns a list of data fetched from an SAP system. The performance is 
really bad, the call to the web service takes about 20 seconds with certain in 
parameters. The SOAP message returned from the web service is 377 kb in size.

I've done some investigation to figure out where the bottleneck is, here is my 
investigation and conclusion:

Code in my SLSB:

ReturnType r = sei.wsMethodName(input);

It takes about 20 seconds for this method to return.


I've written a stand-alone SAAJ client that just calls the same web service 
with the same input.

Code from the SA SAAJ client:

  | SOAPMessage replyMsg = conn.call(reqMsg,url);

It takes about 7 seconds for this method to return.


I've written a stand-alone client that executes the same function in SAP using 
the native SAP Connector (JCO), with the same input

Code from the native SA client:

jcoConn.execute(function);

It takes about 600 ms for this method to return


Conclusion:

The SAP call takes about 600 ms to execute. The work done in the remote web 
service I'm calling takes about 6,5 seconds to execute. The work done by JBoss 
(reading the SOAP message, mapping to Java etc) takes about 13 seconds Am I 
doing something wrong? Is there any way that I can speed up the work done by 
JBoss?

Greatfull for any help!

Cheers

Anders

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Errata - JBoss 4.0 - The Official Guide? (Repost)

2005-06-03 Thread anders.hedstrom
Hi,

is there any errata to JBoss 4.0 - The Official Guide. I'm reading it right now 
and I get confused when reding it because there is some "typos".

To take some examples: (I'm using the JBoss 4.0.2 distribution and all its 
classes when testing the code examples)
 
Ch2 page 112:
   import org.jboss.mx.interceptor.Invocation - there is no such class, I guess 
it should be org.jboss.mx.server.Invocation src: 
http://docs.jboss.org/jbossas/javadoc/4.0.2/
   
   import org.jboss.mx.interceptor.InvocationException - there is no such 
class, I guess it should be org.jboss.invocation.InvocationException, but then 
the complete implemantation of the public Object invoke(Invocation) method is 
wrong, so the InvocationException is not needed. src: ServerSecurityInterceptor 
from jboss4guide.zip examples

Ch8 page 332:
  Figure 8.4 should show the method-permission element, but shows the method 
element, the same as Figure 8.5 

Ch8 page 348:
  Listing 8.8 should show the EchoSecurityProxy implementation but shows the 
same code snippet as on page 341


So, is there any errata to this book?

Cheers

//Anders =)

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Errata - JBoss 4.0 - The Official Guide?

2005-06-02 Thread anders.hedstrom
Hi,

is there any errata to JBoss 4.0 - The Official Guide. I'm reading it right now 
and I get confused when reding it because there is some "typos".

To take some examples: (I'm using the JBoss 4.0.2 distribution and all its 
classes when testing the code examples)
 
Ch2 page 112:
   import org.jboss.mx.interceptor.Invocation - there is no such class, I guess 
it should be org.jboss.mx.server.Invocation src: 
http://docs.jboss.org/jbossas/javadoc/4.0.2/
   
   import org.jboss.mx.interceptor.InvocationException - there is no such 
class, I guess it should be org.jboss.invocation.InvocationException, but then 
the complete implemantation of the public Object invoke(Invocation) method is 
wrong, so the InvocationException is not needed. src: ServerSecurityInterceptor 
from jboss4guide.zip examples

Ch8 page 332:
  Figure 8.4 should show the method-permission element, but shows the method 
element, the same as Figure 8.5 

Ch8 page 348:
  Listing 8.8 should show the EchoSecurityProxy implementation but shows the 
same code snippet as on page 341


So, is there any errata to this book?

Cheers

//Anders =)

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - ClassLoader question

2005-04-15 Thread anders.hedstrom
Hi all,

I have a SLSB that tries to send an Object to a remote location, in case of 
there is a problem during the transfer the SLSB saves the Object to a database 
and starts a Timer Bean that will read the Object from the database and try to 
send it again.

But I have some problems, I get ClassCastExceptions all the time when the Timer 
Bean tries to cast it to its type when it has read it from the database.

This has probably something to do with ClassLoader - If I print out the 
ClassLoader to the screen after it has bean loaded from the database it is null

  | Object obj = rs.getObject(1);
  | log4j.info(obj.getClass().getClassLoader()); // generates null
  | MyType mt = (MyType)obj; // generates ClassCastException

How can I fix this?

Greatfull for any suggestions!

Cheers

//Anders =)

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problems with JDOM + XPath in JBoss 4.0.1

2005-04-13 Thread anders.hedstrom
"anders.hedstrom" wrote :  jaxan.jar

should be jaxen.jar =)

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Problems with JDOM + XPath in JBoss 4.0.1

2005-04-13 Thread anders.hedstrom
I added the jboss-app.xml to my app.ear with the following entry:
your.dot.com:loader=my-ejb.jar

Now it works without me deleteing the jaxan.jar from $JBOSS_HOME/lib directory.

Thanks Pete for your input!

Cheers

//Anders =)

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >