[JBoss-user] [Messaging, JMS JBossMQ] - Does a transacted session block other sessions?

2005-06-11 Thread drakonis
We create a transacted session with:
QueueSession session = conn.createQueueSession(true, -1);
It means all the messages created in that session are apart of an atomic unit 
and there can be none interposing in that order. However the starting of a 
transacted session doesn't take a destination as a parameter. So it couldn't be 
blocking at this time, other destinations should be able to accept whatever 
messages they please. 
So is the transaction started when we call 
QueueSender senderJMS = session.createSender(Destination);
or in fact is not really a transaction at all so other transactions started 
after this one but who finished before it, actualy get their group of messages 
before this transaction's group?

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: 'Remember Me' functionality for JBoss-Portal

2005-06-11 Thread [EMAIL PROTECTED]
Mike,

I think the most important thing you need to know is about how authentication 
is performed in JBoss Portal. Authentication is performed by the servlet 
container.

Servlet container authentication defines several modes of authentication 
(BASIC,FORM,DIGEST,CLIENT_CERT), the default one is FORM which uses a form to 
perform login. I think that only this type of authentication is compatible with 
the Remember Me feature.

So the first for implementing this feature is to be capable to perform the 
login of a user transparently : i.e the user come on the web site, the portal 
establish trust with him (usually based on a persistent cookie that contains a 
proof that establish the trust) and the portal decides to perform the login of 
that user transparently.


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: ad infinitum: both corr and transport are null, cannot s

2005-06-11 Thread mikaelhg
Unfortunately the org.jgroups.blocks.GroupRequest:178 - both corr and transport 
are null, cannot send group request problem still bites our production systems 
after about a day. Are there any known good configurations we could go to which 
you could post here?

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - JBoss Cluster versus OS cluster

2005-06-11 Thread j_albr
I have a general question related to Clustering JBoss and e.g. Solaris 
Clusters:

How does JBoss Cluster (with single nodes) compete against e.g. a Solaris 
Cluster (with Solaris cluster nodes)? Is it meaningful to have a JBoss 
installed on a Solaris Cluster instead of Clustering JBoss with single Solaris 
nodes?

General recommendations or experiences are very much welcome. Thanks in advance.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JMS Error! org.jboss.mq.SpyJMSException: Could not remove me

2005-06-11 Thread wikey
Hi,

I'm using JBOSS 4.0.0 and Hypersonic version 1.8 and i'm having the problem 
below after the JMS runs couple of hours.

Secondly, anyone deployed JBOSS 4.0.0 using hypersonic DB in production running 
smoothly?

org.jboss.mq.SpyJMSException: Cannot acknowlege a message; - nested throwable: 
(org.jboss.mq.SpyJMSException: Could not remove message: 1466216 msg=112785 
hard STORED PERSISTENT 
queue=TOPIC.testTopic.DurableSubscription[clientId=DurableSubscriberExample10 
name=dynsub9 selector=null] priority=4 lateClone=false hashCode=14608856; - 
nested throwable: (java.sql.SQLException: S1000 General error 
java.lang.NullPointerException in statement [DELETE FROM JMS_MESSAGES WHERE 
MESSAGEID=? AND DESTINATION=?]))



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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Window decorations and controls

2005-06-11 Thread martingi
Actually I'm using my custom theme, but the decorations and controls are still 
being displayed. This is because the
org.jboss.portal.core.theme.render.impl.DivDecorationRenderer is instantiated, 
which generates a table e.g. with the portlet title and I do not how to avoid 
this.

This is what my portal-themes.xml looks like
themes
  | theme
  | namemyportal/name
  | link href=/myportal.css title= rel=stylesheet 
type=text/css media=screen /
  | /theme
  | /themes
Am I missing an element here to prevent decorations  controls rendering?

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Window decorations and controls

2005-06-11 Thread [EMAIL PROTECTED]
I haven't test this yet, but you may want to try using the emtpyRenderer 
instead of the divRenderer. I believe thats what its there for.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Window decorations and controls

2005-06-11 Thread [EMAIL PROTECTED]
We decompiled those darn divRenderer classes... and made our own 

That's what you gotta do to get rid of those pesky window controls.


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - retrieving byte array from sybase ASA

2005-06-11 Thread zihong
How do I retrieve byte[] from sybases ASA?  (I have not tried write to it yet.  
May need to write to it too.)

I am using Sybase ASA 9, jconnect 5.5, EJB3 preview 5 in jboss 4.0.2.  When I 
leave the sybase type-mapping in standardjbosscmp-jdbc.xml alone (ie, the byte, 
short mapping are commented out), and in my entity bean, I have

@Lob(fetch = FetchType.EAGER)
public byte[] getMasterMac() {
return masterMac;
}

as did in examples in the EJB3 preview 5, then, I got error:

java.lang.UnsupportedOperationException: The method 
com.sybase.jdbc2.jdbc.SybResultSet.getBlob(String) is not supported and should 
not be called.


Sure enough, I checked jconnect document, it clearly indicated the getBlob(), 
getClob() methods are not supported.


My next choice is to manually change the byte type mapping.  Here are the 3 
type mappings that I tried:

(1) Uncomment out the original comments:


 
java-typejava.lang.Byte/java-type
jdbc-typeTINYINT/jdbc-type
sql-typeTINYINT/sql-type
 


(2)
 
java-typejava.lang.Byte/java-type
jdbc-typeVARBINARY/jdbc-type
sql-typeVARBINARY/sql-type
 
 
java-typebyte[]/java-type
jdbc-typeVARBINARY/jdbc-type
sql-typeVARBINARY/sql-type
 

(3) 
 
java-typejava.lang.Byte/java-type
jdbc-typeVARBINARY/jdbc-type
sql-typeVARBINARY/sql-type
 
 
java-typebyte[]/java-type
jdbc-typeVARBINARY(255)/jdbc-type
sql-typeVARBINARY(255)/sql-type
 


I also tried to use BINARY instead of VARBINARY, none of them work.  I always 
got error:

2005-06-11 00:31:40,359 DEBUG [Loader]: result set row: 0
2005-06-11 00:31:40,359 DEBUG [LongType]: returning '1' as column: id
2005-06-11 00:31:40,359 DEBUG [Loader]: result row: 
EntityKey[com.myapp.beans.models.Node#1]
2005-06-11 00:31:40,359 DEBUG [Loader]: Initializing object from ResultSet: 
[com.myapp.beans.models.Node#1]
2005-06-11 00:31:40,359 DEBUG [BasicEntityPersister]: Hydrating entity: 
[com.myapp.beans.models.Node#1]
2005-06-11 00:31:40,359 DEBUG [IntegerType]: returning '1' as column: state1_
2005-06-11 00:31:40,359 DEBUG [StringType]: returning 'South' as column: 
domainName1_
2005-06-11 00:31:40,375 DEBUG [IntegerType]: returning '100' as column: 
helloTim9_1_
2005-06-11 00:31:40,375 DEBUG [AbstractBatcher]: about to close ResultSet (open 
ResultSets: 1, globally: 1)
2005-06-11 00:31:40,390 DEBUG [AbstractBatcher]: about to close 
PreparedStatement (open PreparedStatements: 1, globally: 1)
2005-06-11 00:31:40,390 DEBUG [AbstractBatcher]: closing statement
2005-06-11 00:31:40,421 DEBUG [JDBCExceptionReporter]: could not execute query 
[select node0_.id as id, node0_.state as state1_, node0_.domainName as 
domainName1_, node0_.helloTimerInterval as helloTim9_1_, node0_.masterMac as 
masterMac1_ from Node node0_]
java.sql.SQLException: JZ006: Caught IOException: java.io.IOException: JZ0EM: 
End of data.
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:485)
at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:2966)
at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2029)
at com.sybase.jdbc2.tds.TdsResultSet.nextResult(TdsResultSet.java:512)
at com.sybase.jdbc2.tds.TdsResultSet.next(TdsResultSet.java:298)
at com.sybase.jdbc2.tds.TdsResultSet.close(TdsResultSet.java:394)
at com.sybase.jdbc2.jdbc.SybResultSet.markDead(SybResultSet.java:1509)
at com.sybase.jdbc2.jdbc.SybResultSet.close(SybResultSet.java:1567)
at com.sybase.jdbc2.jdbc.SybResultSet.close(SybResultSet.java:182)
at 
org.jboss.resource.adapter.jdbc.WrappedResultSet.internalClose(WrappedResultSet.java:808)
at 
org.jboss.resource.adapter.jdbc.WrappedResultSet.close(WrappedResultSet.java:133)
at 
org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:137)
at org.hibernate.loader.Loader.doQuery(Loader.java:408)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:206)
at org.hibernate.loader.Loader.doList(Loader.java:1515)
at org.hibernate.loader.Loader.list(Loader.java:1498)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:266)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:791)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at org.jboss.ejb3.entity.QueryImpl.getResultList(QueryImpl.java:58)



From the trace you can see that the retrieving did not get masterMac1_, the 
byte array (defined as binary(6) for the column type) column

 
How should I solve this problem?  Thanks in advance.




View the original post : 

[JBoss-user] [JBoss Portal] - Re: Window decorations and controls

2005-06-11 Thread martingi
Thanks, this works for me with the emptyRenderer. I changed the element in 
default-portal.xml now to 
  property
  |  nameorg.jboss.portal.property.renderSet/name
  |  valueemptyRenderer/value
  |   /property 

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Initial Portal config problems with MySQL

2005-06-11 Thread rickprice407
I am having a problem getting the Portals setup on my Windows box.  Jboss is 
running well on this and my Linux machines.

Jboss is 4.0.2
Portal is RC2
mysql-connector-java-3.1.8-bin.jar located in the server\default\lib directory
Windows XP
MySQL  4.1.12a

I copied the sar and ear to the server\default\deploy folder along with the XML 
files for mysql:

?xml version=1.0 encoding=UTF-8?

  local-tx-datasource
jndi-namePortalDS/jndi-name

connection-urljdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false/connection-url
driver-classcom.mysql.jdbc.Driver/driver-class
user-nameportal/user-name
password
  /local-tx-datasource


The driver jar is in the classpath as are the com and org directories.

The stack trace for the error is:

13:49:36,968 INFO  [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
.ForumImpl.watches - jbp_forums_forumswatch
13:49:36,968 INFO  [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl
.TopicImpl.watches - jbp_forums_topicswatch
13:49:36,968 INFO  [Configuration] processing association property references
13:49:36,968 INFO  [Configuration] processing foreign key constraints
13:49:37,390 INFO  [NamingHelper] JNDI InitialContext properties:{}
13:49:37,405 INFO  [DatasourceConnectionProvider] Using datasource: 
java:PortalDS
13:49:37,405 WARN  [JBossManagedConnectionPool] Throwable while attempting to 
get a new connection: null
java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.g
etDriver(LocalManagedConnectionFactory.java:266)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
reateManagedConnection(LocalManagedConnectionFactory.java:150)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr
eateConnectionEventListener(InternalManagedConnectionPool.java:508)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge
tConnection(InternalManagedConnectionPool.java:207)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP
ool.getConnection(JBossManagedConnectionPool.java:534)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage
dConnection(BaseConnectionManager2.java:395)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo
nnection(TxConnectionManager.java:297)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:447)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
nManagerProxy.allocateConnection(BaseConnectionManager2.java:874)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
erDataSource.java:103)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection(D
atasourceConnectionProvider.java:59)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
67)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509
)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav
a:1054)
at org.jboss.portal.core.hibernate.SessionFactoryBinder.createSessionFac
tory(SessionFactoryBinder.java:261)
at org.jboss.portal.core.hibernate.SessionFactoryBinder.startService(Ses
sionFactoryBinder.java:127)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:272)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
73)

Again, JBoss is workinig just fine as is MySQL (from the MySQL Clients - not 
JDBC).  Can anyone see what I've overlooked??

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Initial Portal config problems with MySQL

2005-06-11 Thread martingi
Maybe it's just that your portal-ds.xml is not valid. Try putting the password 
into the corresponding element:
 ...
  | user-nameportal/user-name
  | passwordpassword/password
  | ...

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Problems with trans-attribute

2005-06-11 Thread wkwan0423
I am having problems with JBoss discovering individual trans-attribute values 
when using the assembly descriptor shown below.  The behavior we experience is 
that the course grained method descriptor is honored (Required using * ), and 
the fine grained element (RequiresNew with method name) ignored.  

Q: should the individual method elements for each bean be defined in seperate 
container-transaction elements? 

Q: Is the order the elements are listed significant? 

Q: Is there a JMX interface showing the attributes the beans receive at 
deployment? 


Thanks for any help with this issue.

CW

ejb-jar
  | 
  | !-- Bean Descriptors elided ... --
  | 
  | assembly-descriptor
  | 
  | !-- Method Permissions elided ... --
  |container-transaction
  |  method
  | ejb-nameBeanA/ejb-name
  | method-nameejbTimeout/method-name
  |  /method 
  |  method
  | ejb-nameBeanB/ejb-name
  | method-namegetId/method-name
  |  /method
  |  trans-attributeRequiresNew/trans-attribute
  |/container-transaction
  | 
  |container-transaction
  |  method
  | ejb-nameBeanA/ejb-name
  | method-name*/method-name
  |  /method
  |  method
  | ejb-nameBeanB/ejb-name
  | method-name*/method-name
  |  /method
  |  trans-attributeRequired/trans-attribute
  |/container-transaction
  |  /assembly-descriptor
  | /ejb-jar

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Initial Portal config problems with MySQL

2005-06-11 Thread rickprice407
The password was set to 'password' so this should work.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Two questions regarding 1.2.2 to 1.2.3

2005-06-11 Thread soeren
Hi Bela,

it took me quite some hours today to find the exact problem but finally I was 
able to reproduce it. I have compiled everything together in JBCACHE-192.


Best regards,
Soeren


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - juddi in Jboss

2005-06-11 Thread ankitm
I am completely new to jboss. could someone answer my queries?

does the new jboss 4.02 contains juddi integrated...? How do u check if its 
there or not ? also juddi needs some database server so should i download some 
database server server or it comes integrated with jboss4.02

thanx in advance

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBossDukesBank

2005-06-11 Thread tmurray
Howdy all.

Envirionment:
java version 1.5.0_02
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)

jboss04.0.2

j2ee-1_4-doc-tutorial_2.zip

jbossj2ee-src.zip

Everything builds nicely, database connection works fine, but when I  deploy
 
ant -f jboss-build.xml deploy 


I get a bunch of warnings about the EJB's not complying with the standard :
Here is the first:
BUILD SUCCESSFUL
  | Total time: 1 second
  | bash-3.00# 12:08:11,769 INFO  [EARDeployer] Init J2EE application: 
file:/usr/local/jboss-4.0.2/server/default/deploy/JBossDukesBank.ear
  | 12:08:12,944 WARN  [verifier] EJB spec violation: 
  | Bean   : CustomerBean
  | Section: 10.6.2
  | Warning: The entity bean class must be defined as public and abstract.

a bunch of similar warnings scroll by and then the  exception dump
at the bottom of this post.

If anybody can provide a pointer to information on how to fix this, I would 
much appreciate it.

thx.

t.


12:20:36,197 ERROR [MainDeployer] could not create deployment: 
file:/usr/local/jboss-4.0.2/server/default/tmp/deploy/tmp50781JBossDukesBank.ear-contents/bank-ejb.jar
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
  | at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
  | 12:20:36,235 ERROR [MainDeployer] could not create deployment: 
file:/usr/local/jboss-4.0.2/server/default/deploy/JBossDukesBank.ear
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
  | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
  | at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 

[JBoss-user] [Persistence CMP/JBoss] - Re: How store a big file in postgresql without breaking the

2005-06-11 Thread rpa_rio
I found the solution, i created a SessionBean and put all PostgreSQL specific 
code there to store the file.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBossDukesBank--figured it out!

2005-06-11 Thread tmurray
Howdy all,


Fixed it. 

On a whim, I replaced the j2ee-1_4-doc-tutorial_2.zip with the
 j2ee-1_4-doc-tutorial_4.zip.

did the basic  jboss-build.properties config , redeployed the ear and
restarted the server.

All the server messages came up correctly just like the documenation for
4.0 startguide.pdf says.


Glad that's over, hope it helps somebody else.

t.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: findByPrimaryKey overriding

2005-06-11 Thread beamer908
Should clarify. Don't want to overLOAD, but rather override. Same method, same 
parameters, different behavior.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - JBoss Portal RC3

2005-06-11 Thread [EMAIL PROTECTED]
We have released the 2.0 RC3 of JBoss Portal. JBoss Portal 2.0 RC3 works with 
JBoss 4.0.2 and not with earlier versions.

The release fixes a couple of bugs :

http://jira.jboss.com/jira/browse/JBPORTAL-268
http://jira.jboss.com/jira/browse/JBPORTAL-267

The downloads are accessible with the following links :

http://download.jboss.com/jbossportal/2.0RC2/jboss-portal-2.0-RC3-jboss-4.0.2.zip
http://download.jboss.com/jbossportal/2.0RC2/jboss-portal-2.0-RC3.zip
http://download.jboss.com/jbossportal/2.0RC2/jboss-portal-2.0-RC2-src.tar.gz

http://download.jboss.com/jbossportal/2.0RC2/jboss-forums-2.0-RC3.zip
http://download.jboss.com/jbossportal/2.0RC2/jboss-forums-2.0-RC3-src.tar.gz

All docs can be found here: http://www.jboss.org/products/jbossportal#docs


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - JBoss Portal RC3 (Repost)

2005-06-11 Thread [EMAIL PROTECTED]
We have released the 2.0 RC3 of JBoss Portal. JBoss Portal 2.0 RC3 works with 
JBoss 4.0.2 and not with earlier versions.

The release fixes a couple of bugs :

http://jira.jboss.com/jira/browse/JBPORTAL-268
http://jira.jboss.com/jira/browse/JBPORTAL-267

The downloads are accessible with the following links :

http://download.jboss.com/jbossportal/2.0RC3/jboss-portal-2.0-RC3-jboss-4.0.2.zip
http://download.jboss.com/jbossportal/2.0RC3/jboss-portal-2.0-RC3.zip
http://download.jboss.com/jbossportal/2.0RC3/jboss-portal-2.0-RC2-src.tar.gz

http://download.jboss.com/jbossportal/2.0RC3/jboss-forums-2.0-RC3.zip
http://download.jboss.com/jbossportal/2.0RC3/jboss-forums-2.0-RC3-src.tar.gz

All docs can be found here: http://www.jboss.org/products/jbossportal#docs


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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Portal is up and running but I can not register a new user

2005-06-11 Thread eperry
I was able to log in as the admin but when I try to create a new login it just 
gives me a blank page. 
portal R2
jboss 4.0.2
forums r2

Also if I log back in as admin I see the account created. 

The log files shows the following. (Please help)

[EMAIL PROTECTED]@[EMAIL PROTECTED]@1f52b85]
20:41:40,558 INFO  [LayoutDeployment] found default strategy ...
20:41:40,589 INFO  [LayoutDeployment] found: 
org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl
20:41:40,605 INFO  [LayoutDeployment] creating /WEB-INF/theme folder for this 
archive
20:41:40,628 INFO  [LayoutDeployment] done creating new layout(s), found in :  
portal
20:41:40,629 INFO  [ThemeDeployment] create new theme(s), found in :  portal
20:41:40,703 INFO  [ThemeDeployment] done creating new theme(s), found in :  
portal
20:41:48,677 INFO  [PortalServer] Added application /portal-core
20:41:51,762 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, 
warUrl=file:/root/portal/jboss-4.0.2/server/default/deploy/jmx-console.war/
20:41:52,325 INFO  [EARDeployer] Init J2EE application: 
file:/root/portal/jboss-4.0.2/server/default/deploy/portal-forums.ear/
20:41:54,381 INFO  [Configuration] configuring from url: 
file:/root/portal/jboss-4.0.2/server/default/deploy/portal-forums.ear/portal-forums.sar/conf/hibernate/hibernate.cfg.xml
20:41:54,498 INFO  [Configuration] Mapping resource: 
org/jboss/portlet/forums/impl/CategoryImpl.hbm.xml
20:41:54,567 INFO  [HbmBinder] Mapping class: 
org.jboss.portlet.forums.impl.CategoryImpl - jbp_forums_categories
20:41:54,572 INFO  [Configuration] Mapping resource: 
org/jboss/portlet/forums/impl/ForumImpl.hbm.xml
20:41:55,158 INFO  [HbmBinder] Mapping class: 
org.jboss.portlet.forums.impl.ForumImpl - jbp_forums_forums
20:41:55,272 INFO  [Configuration] Mapping resource: 
org/jboss/portlet/forums/impl/PollImpl.hbm.xml
20:41:55,334 INFO  [HbmBinder] Mapping class: 
org.jboss.portlet.forums.impl.PollImpl - jbp_forums_polls
20:41:55,337 INFO  [Configuration] Mapping resource: 
org/jboss/portlet/forums/impl/PosterImpl.hbm.xml
20:41:55,479 INFO  [HbmBinder] Mapping class: 
org.jboss.portlet.forums.impl.PosterImpl - jbp_forums_posters
20:41:55,487 INFO  [Configuration] Mapping resource: 
org/jboss/portlet/forums/impl/PostImpl.hbm.xml
20:41:55,701 INFO  [HbmBinder] Mapping class: 
org.jboss.portlet.forums.impl.PostImpl - jbp_forums_posts
20:41:55,711 INFO  [Configuration] Mapping resource: 
org/jboss/portlet/forums/impl/TopicImpl.hbm.xml
20:41:56,055 INFO  [HbmBinder] Mapping class: 
org.jboss.portlet.forums.impl.TopicImpl - jbp_forums_topics
20:41:56,066 INFO  [Configuration] Mapping resource: 
org/jboss/portlet/forums/impl/WatchImpl.hbm.xml
20:41:56,287 INFO  [HbmBinder] Mapping class: 
org.jboss.portlet.forums.impl.WatchImpl - jbp_forums_watch
20:41:56,306 INFO  [HbmBinder] Mapping joined-subclass: 
org.jboss.portlet.forums.impl.TopicWatchImpl - jbp_forums_topicswatch
20:41:56,309 INFO  [HbmBinder] Mapping joined-subclass: 
org.jboss.portlet.forums.impl.ForumWatchImpl - jbp_forums_forumswatch
20:41:56,311 INFO  [Configuration] Configured SessionFactory: 
java:portal/ForumSessionFactory
20:41:56,314 INFO  [Configuration] processing extends queue
20:41:56,315 INFO  [Configuration] processing collection mappings
20:41:56,316 INFO  [HbmBinder] Mapping collection: 
org.jboss.portlet.forums.impl.CategoryImpl.forums - jbp_forums_forums
20:41:56,318 INFO  [HbmBinder] Mapping collection: 
org.jboss.portlet.forums.impl.ForumImpl.topics - jbp_forums_topics
20:41:56,319 INFO  [HbmBinder] Mapping collection: 
org.jboss.portlet.forums.impl.ForumImpl.forumWatch - jbp_forums_forumswatch
20:41:56,321 INFO  [HbmBinder] Mapping collection: 
org.jboss.portlet.forums.impl.ForumImpl.watches - jbp_forums_forumswatch
20:41:56,323 INFO  [HbmBinder] Mapping collection: 
org.jboss.portlet.forums.impl.TopicImpl.watches - jbp_forums_topicswatch
20:41:56,324 INFO  [Configuration] processing association property references
20:41:56,325 INFO  [Configuration] processing foreign key constraints
20:41:56,401 INFO  [NamingHelper] JNDI InitialContext properties:{}
20:41:56,412 INFO  [DatasourceConnectionProvider] Using datasource: 
java:PortalDS
20:41:56,414 INFO  [SettingsFactory] RDBMS: MySQL, version: 4.0.24
20:41:56,414 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, 
version: mysql-connector-java-3.1.8 ( $Date: 2005/04/14 20:36:13 $, $Revision: 
1.27.4.64 $ )
20:41:56,416 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
20:41:56,418 INFO  [SettingsFactory] JDBC batch size: 15
20:41:56,419 INFO  [SettingsFactory] JDBC batch updates for versioned data: 
disabled
20:41:56,420 INFO  [SettingsFactory] Scrollable result sets: enabled
20:41:56,421 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
20:41:56,422 INFO  [SettingsFactory] Aggressive release : disabled
20:41:56,423 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
20:41:56,431 INFO  [SettingsFactory] Default batch fetch size: 1
20:41:56,432 INFO  

[JBoss-user] [JBoss Portal] - Re: Initial Portal config problems with MySQL

2005-06-11 Thread rickprice407
I checked the file and the XML tags are there.  I'm not sure what happened when 
I pasted it up there.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Initial Portal config problems with MySQL

2005-06-11 Thread [EMAIL PROTECTED]
Remove the sar and styart jboss with only the datasource in /deploy. See if you 
still get the exception. 

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Anyone using Jbosscache as write-back cache?

2005-06-11 Thread gagangoel
thanks for your response.

I saw that these features are included in version 1.3.  Can you tell what is 
the  tentative release date of this version.  

thanks
Gagan

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Two questions regarding 1.2.2 to 1.2.3

2005-06-11 Thread [EMAIL PROTECTED]
Thanks, I assigned it to 1.2.4 (next release) in JIRA.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Anyone using Jbosscache as write-back cache?

2005-06-11 Thread [EMAIL PROTECTED]
1.3 is a catch-all release, we will most certainly push features out into 1.3.1 
or 1.4.
But I'd say the 3 features I mentioned above should make it into 1.3. 
1.2.4 should be released by end of August.
With 1.3, we will schedule a dev release 1, maybe 2 But I want to release 1.3 
before the end of the year.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user