[JBoss-user] [EJB/JBoss] - Re: EJBs in WebApp
Thanks pnevado, I looked over the spec and found the basics info that I was looking for. Regards, Itchy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838696#3838696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838696 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJBs in WebApp
Hello, I'm deploying a WebApp with a Servlet that calls Session EJB interfaces. The Servlet is declared in web.xml, but what is the format for including EJB interfaces in web.xml? Do they need to be declared anywhere else in my WebApp? And is there a documentation source for this? Thanks to all who try to help! Itchy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838476#3838476 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838476 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Cause: Incomplete Deployment listing
Hello, I get this error when I start JBoss. Not quite sure how to interpret itor if it is even important. I checked the JMX-Console, but don't really know what I'm looking for insofar as irregularities. If someone out there is familiar with this, I'd appreciate any explanations/suggestions. Regards, Itchy The error: 15:00:58,695 INFO [MainDeployer] Deployed package: file:/F:/JBoss323/server/def | ault/deploy/management/web-console.war | 15:00:58,695 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope | ration 'checkIncompleteDeployments()' | Cause: Incomplete Deployment listing: | Packages waiting for a deployer: | | Incompletely deployed packages: | | MBeans waiting for classes: | | MBeans waiting for other MBeans: | [ObjectName: jboss.mq:service=InvocationLayer,type=HTTP | state: CONFIGURED | I Depend On: jboss.mq:service=Invoker | jboss.web:service=WebServer | | Depends On Me: , ObjectName: jboss.mq:service=DestinationManager | state: CONFIGURED | I Depend On: jboss.mq:service=MessageCache | jboss.mq:service=PersistenceManager | jboss.mq:service=StateManager View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837966#3837966 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837966 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: DataSource--malformed key/value pair???
Thanks Adrian Brock, I obviously misinterpreted the docs--it works fine now that I changed it. Best Wishes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837953#3837953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837953 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - DataSource--malformed key/value pair???
Hi, When starting JBoss, the sapdb-ds.xml file causes a malformed key/value pair exception. Could someone please tell me how to configure this correctly? Thanks to anyone who helps or tries to help! Itchy Here are the details: The sapdb-ds.xml file: | | java:/jdbc/jZUDIDS | jdbc:sapdb://KEMA220102/jZUDI | com.sap.dbtech.jdbc.DriverSapDB | Developer | Developer | | The mBean: | |jboss.jca:service=RARDeployer | | com/kemaiev/jzudi/hibernate/CompanyHibernateImpl.hbm.xml | |java:/jZUDIConnectionFactory |java:/jdbc/jZUDIDS |net.sf.hibernate.dialect.SAPDBDialect |true |false |UserTransaction |net.sf.hibernate.transaction.JTATransactionFactory | | net.sf.hibernate.transaction.JBossTransactionManagerLookup | | | The error printout: 11:32:10,068 INFO [MainDeployer] Starting deployment of package: file:/F:/JBoss 323/server/default/deploy/sapdb-ds.xml 11:32:10,138 WARN [NestedThrowable] Duplicate throwable nesting of same base ty pe: class org.jboss.deployment.DeploymentException is assignable from: class org .jboss.deployment.DeploymentException 11:32:10,148 ERROR [MainDeployer] could not create deployment: file:/F:/JBoss323 /server/default/deploy/sapdb-ds.xml org.jboss.deployment.DeploymentException: create operation failed for package fi le:/F:/JBoss323/server/default/deploy/sapdb-ds.xml; - nested throwable: (org.jbo ss.deployment.DeploymentException: malformed key/value pair: name=java:/jdbc/jZUDIDS ; - nested throwable: (javax.management.MalformedObjectNameException: malformed key/value pair: name=java:/jZUDI_DS)) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837734#3837734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837734 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Hibernate Deployment
Hi, Does anyone know why a hibernate class can't be located upon attempting to compile its respective mapping document (xml.hbm) during deployment? I think the problem is due to classloading, but I don't know how to solve it. Everything else seems to depoy fine. I'd really appreciate any ideas... Regards, Itchy More facts: The class is located in a .jar, whereas the mapping document is within a .sar. Directory structures are identical. The error message states: ERROR [Configuration] Could not compile the mapping document net.sf.hibernate.MappingException: persistent class [com.kemaiev.jzudi.hibernate .CompanyHibernateImpl] not found at net.sf.hibernate.cfg.Binder.bindClass(Binder.java:84) .etc.. Also, within jboss-service.xml: attribute name="MapResources" com/kemaiev/jzudi/hibernate/CompanyHibernateImpl.hbm.xml attribute View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836272#3836272 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836272 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?
Thanks a bunch gorano and jae77, I looked all over for a method that would generate application.xml, but couldn't find one. Now I know why I didn't find it. Using tokens looks like the best way. Thanks for the input. Itchy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835552#3835552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835552 --- 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=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - application.xml created with Ant?
Can anyone tell me if application.xml can be created using Ant? Regards, Itchy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835429#3835429 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835429 --- 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=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - XDoclet faulty?
Hello, I'm trying to run the [hibernatedoclet] task from a build script . However, the XDoclet doesn't parse my Hibernate file. This should be simple, but I've been working on this for several weeks with no success. Have read most available tutorials and online instructions on the topic, but am mainly using http://www.hibernate.org/66.html. There is no output other than the target name 'xdoclet:' in the command window. Can anyone tell me what the possible causes might be? path id="xdoclet.classpath" fileset dir="F:\XDoclet121\lib" include name="*.jar"/ /fileset /path taskdef name="hibernatedoclet" classname="xdoclet.modules.hibernate.HibernateDocletTask" classpath refid="xdoclet.classpath"/ /taskdef hibernatedoclet destdir="${build.mappings}" excludedtags="@version,@author,@todo" force="true" verbose="true" mergedir="${build.mappings}"> fileset dir="${src.hibernate}" include name="*.java"/ /fileset hibernate version="2.0"/ /hibernatedoclet HERE IS THE CLASS. package com.kemaiev.jzudi.hibernate; import java.io.Serializable; import com.kemaiev.jzudi.Company; /** A business entity class representing a Company. * * @author Itchy * @hibernate.class table="COMPANY" */ public class CompanyHibernateImpl implements Company, Serializable{ private Long companyID; private String description; private String companyName; private String contact; private String street; private String zip; private String city; private String telephone; private String telefax; /** The default constructor for Hibernate to instantiate with.*/ public CompanyHibernateImpl(){ } /** * hibernate.id generator-class="sequence" * column="COMPANY_ID" * */ public Long getCompanyID() { return (CompanyID); } public void setCompanyID(Long long1) { companyID = long1; } /** [EMAIL PROTECTED] column="DESCRIPTION" * */ public String getDescription() { return (description); } public void setDescription(String string) { description = string; } /** * @hibernate.property column="COMPANY_NAME" * */ public String getCompanyName() { return (companyName); } public void setCompanyName(String string) { companyName = string; } /** * @hibernate.property column="CONTACT" * */ public String getContact() { return (contact); } public void setContact(String string) { contact = string; } /** * @hibernate.property column="STREET" * */ public String getStreet() { return (street); } public void setStreet(String string) { street = string; } /** * @hibernate.property column="ZIP" * */ public String getZIP() { return (zip); } public void setZIP(String string) { zip = string; } /** * @hibernate.property column="CITY" * */ public String getCity() { return (city); } public void setCity(String string) { city = string; } /** * @hibernate.property column="TELEPHONE" * */ public String getTelephone() { return (telephone); } public void setTelephone(String string) { telephone = string; } /** * @hibernate.property column="TELEFAX" * */ public String getTelefax() { return (telefax); } public void setTelefax(String string) { telefax = string; } } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834974#3834974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834974 --- 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=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - General Questions
Hello, I'm new to JBoss, so I'm hoping that some of you can give me some general advice on setting up my system. Currently, I have a webapp that runs on Tomcat 5, but I'd like to add an application server. My initial thoughts are that I could use JBoss' integrated web container (either Tomcat or Jetty) to host my webapp and then use the app server, to host POJOs wrapped in Session Beans. The POJOs would handle business processing and database activities via Hibernate. Here are some additional considerations... Security: We have a dual firewall with DMZ. The outer wall would have a port (port 80, for example) designated to access the web server from a browser. The web server would then access the app server via a different port (8080, for example). This port would not be accessible from the browser. The web/app server is on one computer and the database would sit on a second computer. Performance: Since the web server and app server would sit on the same computer, I would run both from the same VM. That way, they would run in the same process, thereby enabling interprocess calls between web server and app server. Future plans: With JBoss 4, would possibly change over to an all-POJO solution and possibly use the AOP...although I don't know much about it yet. Questions: 1. Does my security model make sense, considering that the system needs to be accessible from the Internet? 2. I have a new computer with a P4 on Asus board, 1gig RAM, dual disks on IDE RAID controller, and Win2K. Does the performance model above make sense? Distributing to other computers would be bad due to remote calls, right? 3. What about wrapping POJOs in Sessions Beans for database access? Also, any thoughts on Hibernate? Your experiences and ideas would be of great value to me. Also, if any of these issues are covered in the docs or other articles, then please point me there. I would appreciate anything that would save me unnecessary searching and reading. I look forward to your comments--thanks in advance! Itchy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832267#3832267 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832267 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user