[JBoss-user] [HTTPD, Servlets & JSP] - Re: Uploading images in JBoss

2004-08-05 Thread jtpsoft
Guys,
Problem resolved.

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Uploading images in JBoss

2004-08-05 Thread jtpsoft
Hi Guys,

I am migrating an application (struts, EJBs) from WebLogic 8.1 to JBoss 3.2.5. 
Uploading images and later presenting them per users' request is a crucial part of the 
application. 

In WebLogic design I used virtual directory mapping in weblogic.xml and stored images 
in there. In database I stored only location using that virtual directory mapping 
(virtual directory + file name). Now I am trying to do the same (or similar) in JBoss 
and I am failing and thinking to go back to WebLogic. 

Can somebody help me? How can I place images somewhere on disk, store paths to those 
files in database and use those paths for presenting images back to users?

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Resending email messages?

2004-07-30 Thread jtpsoft
Hi,

How am I supposed to configure JBoss to be resending email messages until they are got 
successfully sent?


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Stateless session bean, and MDB bean -> example?

2004-07-29 Thread jtpsoft
Hi,

Does anybody of you know where I can find an example about sending email messages 
using stateless session bean and MDB bean? How am I supposed to configure JBoss (queue 
and connection factories?) and what am I supposed to define in that stateless bean?

I am trying to migrate one application working under WebLogic 8.1 to JBoss 3.2.5.
 



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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Virtual Directory in JBoss?

2004-07-28 Thread jtpsoft
Hi,

I am using JBoss to upload photos and present them back as a part of users' profiles. 
I did in WebLogic by defining virtual directory in weblogic.xml using the next:

  
C:\WebProjects\MeetPeopleWL
  images/*
  

Can I do the same in JBoss 3.2.5? 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Virtual Direcotry in JBoss 3.2.5

2004-07-28 Thread jtpsoft
Hi,

I am using JBoss to upload photos and present them back as a part of users' profiles. 
I did in WebLogic by defining virtual directory in weblogic.xml using the next:

  
C:\WebProjects\MeetSerbsWL
  images/*
  

Can I do the same in JBoss 3.2.5? 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - JMS provider failure detected:

2004-07-27 Thread jtpsoft
Hi Guys,

I created a simple MDB bean using Oracle in the background but I am repetitive error 
messages:

09:15:10,740 INFO  [JMSContainerInvoker] Reconnected to JMS provider
09:15:10,740 WARN  [JMSContainerInvoker] JMS provider failure detected:
javax.jms.JMSException: Error creating the dlq connection: DLQ not bound
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1267)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)

Obviously something with security but what. Is there any bright guy to help me?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - JMS provider failure detected

2004-07-27 Thread jtpsoft
Hi Guys,

I created a simple MDB bean using Oracle in the background but I am repetitive error 
messages:

09:15:10,740 INFO  [JMSContainerInvoker] Reconnected to JMS provider
09:15:10,740 WARN  [JMSContainerInvoker] JMS provider failure detected:
javax.jms.JMSException: Error creating the dlq connection: DLQ not bound
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:171)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:542)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:764)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1267)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$1.run(JMSContainerInvoker.java:776)

Obviously something with security but what. Is there any bright guy to help me?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: I am getting crazy. Please help me.

2004-07-24 Thread jtpsoft
I resolved this issue. Thanks for your input.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - EXISTS and subqueries in ejb.select queries

2004-07-24 Thread jtpsoft
Hi Guys,

Does somebody of you know whether I can use EXISTS (NOT EXISTS) and correlated 
subqueries in ejb.select, for example:

 /**
  * @ejb.select
  *   query = "SELECT o.proId FROM ProfileEJB AS o 
  * WHERE o.proId <> ?1
  *   AND NOT EXISTS (SELECT p.gender FROM ProfileEJB p
  * WHERE p.proId = ?1
  *   AND p.gender = o.gender)
  *   AND NOT EXISTS (SELECT t.toplistedProId FROM ToplistEJB AS t
  *WHERE t.whoseProId = ?1
  *  AND t.toplistedProId = o.proId)
  * ORDER BY o.proId ASC"
  */

This select is perfect in WebLogic 8.1 but in JBoss 3.2.5 I am getting complilation 
errors. 

Any advices?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: I am getting crazy. Please help me.

2004-07-24 Thread jtpsoft
I am using value objects as a connection between entity beans and stateless session 
beans on one side and web appl on the other side. The value objects are not packed 
with entity beans but in separate common jar file. Is it correct? Am I supposed to 
pack (jar) value objects together with entity beans in the same jar file? Could that 
be the source of the my problems

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: I am getting crazy. Please help me.

2004-07-24 Thread jtpsoft
Alexey,

All my queries are in quotes as you can see. Can you help me to pinpoint the place of 
the error? I have been stuck for 3 days.

Vlad

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: I am getting crazy. Please help me.

2004-07-23 Thread jtpsoft
Oops! I forgot to paste my selects:

 * @ejb.finder
 *   signature = "com.vd.sms.entities.UserLocal findByEmailAddress(java.lang.String 
n0)"
 *   query = "SELECT OBJECT(t) FROM UserEJB AS t WHERE t.emailAddress = ?1"
 *   result-type-mapping = "Local"
 *   method-intf = "LocalHome"
 *
 * @ejb.finder
 *   signature = "com.vd.sms.entities.UserLocal findByPrimaryKey(java.lang.Long l0)"
 *   query = "SELECT OBJECT(r) FROM UserEJB AS r WHERE r.proId = ?1"
 *   result-type-mapping = "Local"
 *   method-intf = "LocalHome"
 *
 * @ejb.finder
 *   signature = "com.vd.sms.entities.UserLocal 
findByUsernameAndPassword(java.lang.String n0, java.lang.String n1, java.lang.String 
n3)"
 *   query = "SELECT OBJECT(n) FROM UserEJB AS n WHERE n.username = ?1 and n.password 
= ?2 AND n.profileStatus <> ?3"
 *   result-type-mapping = "Local"
 *   method-intf = "LocalHome"
 *
 * @ejb.finder
 *   signature = "com.vd.sms.entities.UserLocal 
findByUsernameAndEmailAddress(java.lang.String n0, java.lang.String n1, 
java.lang.String n3)"
 *   query = "SELECT OBJECT(m) FROM UserEJB AS m WHERE m.username = ?1 AND 
m.emailAddress = ?2 AND m.profileStatus <> ?3"
 *   result-type-mapping = "Local"
 *   method-intf = "LocalHome"
 *

How can I identify where the error is and why. The selects look correct.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - I am getting crazy. Please help me.

2004-07-23 Thread jtpsoft
During entity EJB deployment I am getting a bunch of error message like:

14:54:05,107 INFO  [EARDeployer] Init J2EE application: 
file:/C:/WebProjects/jboss-3.2.5/server/meetSerbs/deploy/meetSerbsEar.ear
14:54:15,042 WARN  [DeploymentInfo] Only the root deployment can set the loader 
repository, ingoring config=null
14:54:15,342 INFO  [EjbModule] Deploying ToplistEJB
14:54:15,352 INFO  [EjbModule] Deploying StopUnwantedIndEJB
14:54:15,352 INFO  [EjbModule] Deploying ProfileEJB
14:54:15,362 INFO  [EjbModule] Deploying PaymentOptionsEJB
14:54:15,362 INFO  [EjbModule] Deploying SessionLoggerEJB
14:54:15,372 INFO  [EjbModule] Deploying PaymentEJB
14:54:15,382 INFO  [EjbModule] Deploying SearchWantedEJB
14:54:15,382 INFO  [EjbModule] Deploying StopUnwantedEJB
14:54:15,392 INFO  [EjbModule] Deploying MailboxEJB
14:54:15,402 INFO  [EjbModule] Deploying UserEJB
14:54:15,402 INFO  [EjbModule] Deploying ProfileSessionEJB
14:54:15,412 INFO  [EjbModule] Deploying UserSessionEJB
14:54:15,422 INFO  [EjbModule] Deploying MailSessionEJB
14:54:15,432 INFO  [EjbModule] Deploying MailEJB
14:54:16,223 INFO  [StopUnwantedEJB] Table 'STOPUNWANTED' already exists
14:54:16,243 INFO  [PaymentEJB] Table 'PAYMENT' already exists
14:54:16,263 INFO  [ToplistEJB] Table 'TOPLIST' already exists
14:54:16,273 INFO  [STDOUT] org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not 
found
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.parse(EJBQLParser.java:39)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:151)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:43)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:60)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:266)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:498)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
14:54:16,273 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
14:54:16,273 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:54:16,273 INFO  [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
14:54:16,273 INFO  [STDOUT] at $Proxy17.start(Unknown Source)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.system.ServiceController.start(ServiceController.java:367)
14:54:16,273 INFO  [STDOUT] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown 
Source)
14:54:16,273 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:54:16,273 INFO  [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
14:54:16,273 INFO  [STDOUT] at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
14:54:16,273 INFO  [STDOUT] at $Proxy169.start(Unknown Source)
14:54:16,273 I