[JBoss-user] [EJB 3.0] - How to specify default values for attributes in service POJO

2006-07-04 Thread justinwalsh
Hi, 

Assume I have a POJO annotated with the @Service annotation, implementing an 
interface annotated with the @Management annotation:

  | 
  | @Management
  | public interface BirtReportEngine {
  |// ... methods
  | }
  | 
  | @Service 
(objectName=com.sadalbari.reporting.birt:service=BirtReportEngine)
  | public class BirtReportEngineMBean implements BirtReportEngine {
  |// ... attributes and methods
  | }
  | 

How do I specify default values for attributes in a deployment descriptor?  The 
tutorial for service POJOS with deployment descriptors 
(http://docs.jboss.org/ejb3/app-server/tutorial/service_deployment_descriptor/service.html)
 makes no mention of how to specify attributes

Thanks in advance, 
  

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

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

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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Stopping MBean throws exceptions

2005-09-26 Thread justinwalsh
You need to unregister the MBean using

  | getServer().unregisterMBean(name);
  | 
Just destroying the bean will not suffice.

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

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


---
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] - ClassNotFoundException when service depends on jar

2005-07-21 Thread justinwalsh
JBoss 3.2.7

I have a service, configured by the following xml file, that depends on the 
classes in a jar file.  The jar file (simple.jar) is present in the deploy 
directory of the server.

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | server
  | mbean code=com.test.Simple 
  |name=com.test.simple:service=SimpleService
  |
  |   classpath codebase=deploy archives=simple.jar/
  | /mbean
  | /server
  | 
I get the following error on startup:
18:34:09,956 ERROR [MainDeployer] could not create deployment: file:/C:/dev/se
  | ers/jboss/jboss-3.2.7/server/default/deploy/simple-service.xml
  | org.jboss.deployment.DeploymentException: create operation failed for 
package
  | 
le:/C:/dev/servers/jboss/jboss-3.2.7/server/default/deploy/simple-service.xml;
  |  nested throwable: (org.jboss.deployment.DeploymentException: No 
ClassLoaders
  | und for: com.test.Simple; - nested throwable: 
(java.lang.ClassNotFoundException
  |  No ClassLoaders found for: com.test.Simple))
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
  | at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)

Is there any way to specify that a service depends on a jar file?  The only 
workaround I see is by putting the jar file in the lib directory of the default 
server.

Thanks

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Setting docBase to allow for fast jsp development

2005-01-14 Thread justinwalsh
Hi,

I would like to be able to set the docBase of a web application to point to a 
'workspace' as opposed to an exploded war in the temp folder. This would allow 
me to change jsps and have them reloaded on the fly without a need to repackage 
and deploy the whole WAR/EAR file.

I have managed to change the docBase attribute of the jboss.web:XXX webmodule 
using the JMX HtmlAdaptor to point to my workspace directory. The change does 
not however make any effect. I tried to reload the bean but this failed.

Has anyone managed to do something similar. I'm sure this would be a huge time 
saver as far as development goes.

-- 
Justin

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

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


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Set JSP document base during development (Tomcat)

2004-05-18 Thread justinwalsh
Hi, 

Is there any way to set the document base (root of the web app) whilst developing.  
This would then enable the developer to make changes to web pages (jsp's html etc) 
without having to redeploy the whole application (or web application), speeding the 
process up remarkably.

In a tomcat stand alone application this is possibly by editing the server.xml file in 
the conf folder.  Is there any way to do this using the tomcat embeddeed in JBoss?

Regards

Justin

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

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


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user