How to configure SSL port on oc4j

I have deployed a struts application on oc4j standalone container. I have also configured the SSL port to 4443. But when a request is made for a secure url, it doesn't work as if OC4J is not listening on that port.
itaakashcomAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Amitkumar PSr. ConsultantCommented:
Can you please explain.. What error are you getting ? What steps you followed to configure ssl with oc4j ?

Also refer http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/
0
gheistCommented:
OC4J is EOL... Just like Java 1.4 it uses. You can upgrade it to WebLogic offering easily.
0
itaakashcomAuthor Commented:
@Amit - I'm getting error - This page can't be displayed
I followed the steps as mentioned in the URL that u suggested.

@gheist
OC4J is EOL... Just like Java 1.4 it uses?? what does it mean  
which version of weblogic shall I use?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

gheistCommented:
First OC4j was re-badged Ironserver JEE server
Then came Oracles own OC4J v10
Then they acquired BEA and retired 2nd completely by end 2009.

Migration involves programming either on their suggested path to current weblogic, or to open-source app servers like jboss, jetty or tomcat.
0
itaakashcomAuthor Commented:
Also.. when I deploy this project on Tomcat Server.. I get following error:

org.apache.jasper.JasperException: Unable to compile class for JSP:


.....................
...................
An error occurred at line: 130 in the jsp file: /mod/jog/abc.jsp
The method setValue(String) in the type CompareTagBase is not applicable for the arguments (Object)
.....................
...................
0
gheistCommented:
That is the programming part I was talking about.
As you see Java 1.4 casted object with one string value to string, In java7 you need to do explicit cast.
0
Amitkumar PSr. ConsultantCommented:
itaakashcom,

org.apache.jasper.JasperException: Unable to compile class for JSP:

This should not be related to SSL. I am sure this error must be there earlier before SSL. What is at line: 130 in the jsp file: /mod/jog/abc.jsp ?

Also share the details about the environment. Like, OS version, java version, oc4j version, IDE version and so on.

This will help us to solve your problem quickly.
0
itaakashcomAuthor Commented:
I'm sorry, I mixed up 2 problems, I'll explain in detail:

Scenario 1:
   Environment: Oc4j (standalone container), Jdk1.4/1.5, Struts application,
<sslext> struts tag used.
I have configured SSL in oc4j using the link:
    http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/   (on port 4443)
The error I get is:
   This page can't be displayed

Oc4j doesn't serve the SSL request

Scenario 2:
  When the same application is deployed on Tomcat Server (6.0 or 7.0), I get following error (error doesn't belong to SSL) --

org.apache.jasper.JasperException: Unable to compile class for JSP:


.....................
...................
An error occurred at line: 130 in the jsp file: /mod/jog/abc.jsp
The method setValue(String) in the type CompareTagBase is not applicable for the arguments (Object)
.....................
...................




The above are issues i faced on 2 different servers.
0
gheistCommented:
Since you never used java SSL on that system you must install jsse.jar which now archived , and even worse will provide extremely vulnerable encryption only.
Download here:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html

What tomcat says are generational changes in java. You can use Eclipse java compiler (ecj.exe) instead and it will roll over compile errors and app will fail when reaching half-compiled code path (but odds are high it just works after)
ecj will also have side effect of telling almost all eventual compile errors instead of failing on first.
Even you might succeed with JSSE above, I would suggest to follow this path in parallel to get your business application in supportable state.
0
itaakashcomAuthor Commented:
This problem did not get solved.

We moved on to Oracle Apps Server!!!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
Either product is EOL & obsolete.
SSL on it is easily broken, so it is equivalent of no encryption.
Good luck.
0
itaakashcomAuthor Commented:
The problem did not get solved.

We changed the server and moved on to Oracle Apps Server. That solved our problem.
0
gheistCommented:
You cannot get BW tv to show colours, no matter how hard you push it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.