[JBoss Messaging] - Re: How do I empty a JBoss queue?
by asaur
"ataylor" wrote : Messages can't be left in a "being delivered" state. If the client does not consume and acknowledge a message, it is put back on the queue.
|
| If you think this is not the case then can you provide a test case.
So, in other words, my problem should not be happening at all. Ok, that's fine. Out of curiosity, just one more thing: how long does it take for the message(s) to return to the queue (measured from the client disconnection)?
As a side note, I could post here all my consumer code for you to evaluate, or maybe just the part that deals with the closing of the connections once the client is shut down or crashes. Maybe something in my finishing code is wrong, and the connection is not being closed correctly and so the server is left in a mess... I'll check it again. Would you like to take a look?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167183#4167183
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167183
17 years, 8 months
[Installation, Configuration & DEPLOYMENT] - Incomplete Deployment listing when upgrading from JBoss AS 4
by kvancamp
I have an existing application working with JBoss 4.0.2 (running under JDK 1.4.2). I am trying to upgrade to JBoss 4.2.2 and JDK 1.5, and am getting the error "Incomplete Deployment listing" on my deployment package. I've searched the release notes and FAQ, and can't find any reference to known changes for this issue.
The andesa-itm-war being mentioned in the following logged output is a folder containing a WEB-INF folder, which has a web.xml and jboss-web.xml.
Here is the output I'm seeing:
13:36:48,771 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/andesa-itm.ear/
13:36:51,099 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/andesa-itm.ear/
13:36:51,099 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@63fc729a { url=file:/C:/jboss-4.2.2.GA/server/default/deploy/andesa-itm.ear/andesa-itm-war/ }
deployer: null
status: Starting
state: START_SUBDEPLOYMENTS
watch: file:/C:/jboss-4.2.2.GA/server/default/deploy/andesa-itm.ear/andesa-itm-war/
altDD: null
lastDeployed: 1217266611084
lastModified: 1217266565630
mbeans:
13:36:51,318 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
Ken Van Camp
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167176#4167176
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167176
17 years, 8 months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: Connecting to a database through named instance, mssql-ds
by wootenator
Going to try and post the code again:
| <datasources>
|
| <local-tx-datasource>
| <jndi-name>myDS</jndi-name>
| <connection-url>jdbc:jtds:sqlserver://mymachine:1433/MYDB</connection-url>
| <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
| <user-name>sa</user-name>
| <password>mypass</password>
| <min-pool-size>5</min-pool-size>
| <max-pool-size>20</max-pool-size>
| <idle-timeout-minutes>0</idle-timeout-minutes>
| <track-statements/>
| <metadata>
| <type-mapping>SQL Server</type-mapping>
| </metadata>
| <depends>jboss:service=MSSQL-db,database=mydb</depends>
| </local-tx-datasource>
|
| <mbean code="org.jboss.jdbc.SQLServerDatabase"
| name="jboss:service=MSSQL-db,database=mydb">
| <attribute name="Port">1701</attribute>
| <attribute name="Silent">true</attribute>
| <attribute name="Database">labordb</attribute>
| <attribute name="Trace">false</attribute>
| <attribute name="No_system_exit">true</attribute>
| </mbean>
|
| </datasources>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167174#4167174
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167174
17 years, 8 months
[Security & JAAS/JBoss] - JBOSS + LDAP
by indra_joy
Hi,
I have configured a LDAP Server with my Jboss4.0.5 ga But when I click on my jmx_cosole I get a error as below.
2008-07-28 15:13:22,222 DEBUG [org.jboss.security.auth.spi.LdapExtLoginModule] Bad password for username=jbossuser
javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vecePassword(LdapExtLoginModule.java:229)
at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:210)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
Any help will beb highly appreciated
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167173#4167173
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167173
17 years, 8 months