This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

OpenAM on Apache Tomcat 6 Configuration problem.

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I deployed OpenAM on tomcat 6, and got the initial configuration screen. But when I try to complete the installation i get the following error output on console :-



I'm not sure what the next step should be towards its resolution, the OpenAM install log, does not show any error details.
OpenAMprob.jpg
[Thumbnail for OpenAMprob.jpg]
Problem Pic
 
Anthony Mag
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, 2 days no pointers, im still stuck with this. Need some inputs.
Regards,
Anthony.
 
Anthony Mag
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, since I didn't get any replies, decided 2 do some R&D and find out the solution. Here is how it works out :-
The problem was with the CATALINA_OPTS properties. Seems like OpenAM needs at least 1G heap size.
If you dont have access to tomcat6w gui, create a setenv.bat file in /bin for the server and enter :-

set CATALINA_OPTS=-Xms512m -Xmx1024m


That should suffice. Also set the same for JAVA_HOME through control panel properties.
Regards.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i came across this issue. I followed steps mentioned in this link.: -
1.created setenv.bat with mentioned entry.
2.then started tomcat. still i am getting same problem during default configuration.

ques:-
1. do we need to set CATALINA_OPTS as environment var.
2. if no , then how does startup.bat will pick entry of setenev.bat


Please let me know your if i have gone ahead with any wrong steps.

Thanks,
Reetesh
 
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!