[Installation, Configuration & DEPLOYMENT] - Re: Jboss Upgradation
by rasa
Thnks for your support.
I tried as you suggested.
./run.sh -b localhost
| and
|
| ./run.sh -b 0.0.0.0
But the result is same. That is when i am trying to connect through browser it gives error Unable to connect Firefox can't establish a connection to the server at IP and port.
In the console i am getting following message and stops there itself
| 1:02:44,192 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 21:02:44,261 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
| 21:02:44,645 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
| 21:02:44,685 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-6009
| 21:02:44,705 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 37s:557ms
Actually my application is not deployed yet. The reason is its not compatible with 1.5 java version. Is there any relation with that, as far as i know nothing. If everything is started properly then i should get the web-console rt ? Anything i have missed out. I am checking everything based on 3.2.5 version. Something else i need to do ???
Please help me to solve this issue.
Thanks and Regards
Rasa
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224857#4224857
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224857
17 years
[Security & JAAS/JBoss] - How to get Instance of JBoss Security Subject Factory?
by michaelfgh
Hi, all,
my work environment, JBoss5.0.0GA+MySQL, now I use datasource encryption.
my application-policy as follow:
<application-policy name="fgdb-password-encrypted">
| ....
|
| </application-policy>
I define a mbean as follows:
| <mbean code="org.jboss.resource.connectionmanager.TxConnectionManager"
| ...>
| ...
| <attribute name="JndiName">...</attribute>
| <attribute name="SecurityDomainJndiName">fgdb-password-encrypted</attribute>
| ....
| </mbean>
|
Now I can't connection database, I find the cause is that it can't get Instance of JBoss Security Subject Factory.
and I find a xml file security-jboss-beans.xml, it has some sentence.
<!-- Instance of JBoss Security Subject Factory -->
| <bean name="JBossSecuritySubjectFactory"
| class="org.jboss.security.integration.JBossSecuritySubjectFactory">
| <property name="securityManagement"><inject bean="JNDIBasedSecurityManagement" /></property>
| </bean>
but I don't know how to get this instance.
so I modify a class BaseConnectionManager2 in this jar jboss-jca.jar
I add as follows sentence,
subjectFactory = new JBossSecuritySubjectFactory();
| ((JBossSecuritySubjectFactory) subjectFactory).setSecurityManagement(new JNDIBasedSecurityManagement());
now my problem disappears, I think mondify JBoss class is not a good way,
Can someone give me some hints?
any help can be appreciated.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224822#4224822
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224822
17 years