Chandra Mohan

Ranch Hand
+ Follow
since Oct 06, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Chandra Mohan

Hi

My current project EAR file (JAR and WAR) is deployed and running in production for many yrs. The EJB 2.0 was part of JAR file. I would like to do some operation before invoking the particular method in a EJB with out touching the EAR file. So wrote simple class which implements MethodBeforeAdvice interface (Spring AOP) and generated runable jar file using eclipse which has set it in the application server classpath. So that new java file will pickup as per the applicationContext configuration and perform the operation as I expected. The new jar file includes applicationContext.xml file and spring AOP depends JAR files like aop, bean, core and aopalliance. In the applicationContext XML file, mapped org.springframework.aop.framework.ProxyFactoryBean with target as EJB Bean class and InterceptorNames as new class name.

I set the jar file in the server classpath and restarted server in unix box but handshake between new jar file and ear file is not happening when I invoke the EJB. The new jar file should invoke before I call particular method in EJB (After look up EJB). Any idea or suggestions?


Regards
Mohan
5 years ago
Hi

I would like to access my web application from http to https. I have implemented following steps. I am not sure whether I am going right way or not. I have google and find following steps. Guide me if I am wrong.

1. Created the self signed certificate using following JDK 1.6 command

keytool -genkey -alias tomcat -keyalg RSA

2. Move the keystore to C:\jboss-6.1.0.Final\server\default\conf

3. Uncomment following code in the C:\jboss-6.1.0.Final\server\default\deploy\jbossweb.sar\server.xml

<!-- SSL/TLS Connector configuration using the admin devl guide keystore -->

<Connector protocol="HTTP/1.1" SSLEnabled="true"
port="${jboss.web.https.port}" address="${jboss.bind.address}"
scheme="https" secure="true" clientAuth="false"
keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"
keystorePass="changeit" sslProtocol = "TLS" />

4. Added following code C:\jboss-6.1.0.Final\server\default\conf\bootstrap\security.xml

<bean name="JBossSSLConfiguration" class="org.jboss.security.ssl.JBossSSLConfiguration">
<property name="keyStoreURL">chap8.keystore</property>
<property name="keyStorePassword">changeit</property>
</bean>


4. Restart the application server and deploy the ear file

Access same URL with https but going to blank page.

Could you please let me know the what could cause the problem. Why my application is not running in https?

Regards
Mohan
9 years ago
Hi

I have worked various application server except OAS 10g. I have two question.

1. I would like change the ias_admin password (Forgot the password) for Enterprise Manager application server. Is there any chance to change encrypt pwd?

2. I need to change the my application session-timeout. I was trying look web.xml but I couldn't find out. Is any way to chance it ?


Regards
Mohan
9 years ago
Hi

I would like to start/stop the JBoss 6.1 server in service instead of running the batch file in windows 64.

Any steps should I need to follow ?

Regards
Mohan
9 years ago
In my test server is running jre 1.4, I can't install latest version java also. The production code was running jdk 1.4 and have to fix some issues. For fix the issue, I need eclipse to install in that system. The latest version of eclipse expecting java 5 or higher version. The only option is I need to install the eclipse which supports java 1.4. Even eclipse web site I won't find older version.

Can i download any other place ??


Hi

I would like to run the java file using jdk 1.4 in Eclipse (Windows 64 bit). The current version eclipse won't support the jre 1.4. Where I can download the eclipse (Version # ?) which support 1.4 ver.

Regards
Mohan
Thanks guys. CAVAJ is looks great in terms of to get the exact source code. But to save bulk file feature has to be implement in the product.
I am looking best Java decomplier available in the market (Ready to buy commercial version) which support JDK 1.4.2 class files (Must). I am working in the migration project which has deployed in the server 2002 to 2004 and doesn't have source code. I am looking for java decomplier which support instantly convert multiple class file to java file. For example, If I choose the parent folder, it should convert all the class files which includes sub folder class files also. I don't want to do it for each class file. We have huge number of class file, which should convert instantly and get source file as much as possible match with original source code.

Any recommendations ??

Regards
Mohan
I haven't used MBean. I have created in the normal process.
9 years ago
Hi

I just moved to C:\jboss-as-web-7.0.2.Final still it has same issue. From the command prompt (standalone.bat), I can able to run and view the server console. The problem is when I try from eclipse, The server is not starting up. Not even single line is display in the console. I have checked the log also. But no useful information.


Any other option to explore ?

Regards
Mohan
9 years ago
Hi

In my new laptop, I have installed eclipse and JBoss AS 7.0.2 and jre 6. I have created following environment variables

JAVA_HOME : C:\Program Files\Java\jre6\bin

JBOSS_HOME :C:\Program Files\jboss-as-web-7.0.2.Final

I have installed Eclipse Jboss Plugin also. I just want to deploy simple application. The issue is, the server is not starting. It is not showing any error message in the console also. The popup comes after few seconds "Server JBoss 7.0 Runtime Server failed to start." I have checked runtime environment (delete and recreated also). Still it has same state. Should I need to do anything setting changes for JBoss server ?

Regards
Mohan
9 years ago

Paul Clapham wrote:Stream the data directly from the database to wherever you want to put it. ResultSet has a getBinaryStream() method which returns an InputStream so just read from that and write to some suitable OutputStream.




Thanks.. The files are downloading really fast.
Hi

I would like to download the microsoft office document (may be doc or docx or xls) from the database. I have to download almost 4000 files based SQL condition. I would like to know the best way (interms of good performances) to download the files from SQL Server.

Let me know if additional info has needed..

Regards
Mohan
Hi

I would like to convert MS-word document file to XML in java. The MS word document has 2 or 3 pre definied format which should convert in to same XML format. The word document does't have any image or attachement. Is there any tool or java API available?

Regards
Mohan

10 years ago