JBoss with idea - jboss

I am trying to setup idea for JSF development (i am new to JSF) and we are using jBoss as server. I added the jBoss as application server in idea and tried to run a simple 'hello world' application but I get the following errors
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Disconnected from server
But when I run the jboss server from bin\standalone.bat the server runs !
Why is it giving me the error in idea ?

Related

MDM Operational server getting partially stared

I recently installed IBM MDM 11.5, DB2 and IBM WebSphere on my system. For some reason the Asset in MDM-operational-server is stopped and isn't getting started. I'm new to this and don't know what is causing the problem.
Business-level applications
MDM-operational-server-EBA-E001
If anything is required from my side then please let me know.
I tried restarting the server multiple times, tried running 'Madconfig redeploy_EBA' and even reinstalled the whole thing again but still after completion it's in the same state. If tried to execute any OOTB transactions, it's throwing the following error:
Error: Service bean could not be looked up on server iiop://localhost:2809 and provider url com/dwl/base/requestHandler/beans/DWLServiceController
com.ibm.mdm.tools.metadata.common.exceptions.MetadataException: javax.naming.NameNotFoundException: Context: INLEN8520069636Node01Cell/nodes/INLEN8520069636Node01/servers/server1, name: com/dwl/base/requestHandler/beans/DWLServiceController: First component in name requestHandler/beans/DWLServiceController not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]

Apache Tomcat 9.0.40 server throws 404 error when ran on eclipse. otherwise it works fine

I am trying to learn jsp-apache web server - oracle db interconnectivity.
I installed Apache and gave it 10407 port and when I run it in windows command line 'startup'
server starts and I can connect to localhost:10407 website successfully.
But, when I try to do the same thing in Eclipse, (only one apache is installed in my computer atm)
Console shows same messages and it connects to server. But when I try to access localhost:10407,
it throws this error.
HTTP Status 404 – Not Found
Type Status Report
Message The requested resource [/] is not available
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
How can I fix this?
It was a mistake. I put index.html file in WEB-INF folder.

Installing Information Server Windows XP

I experienced the following error after installing Information Server Console 8.1 on my windows xp sp2 workstation when I try to log on Information Server Console: 
"Internal Error: - Failed to load the Java Virtual Machine. The most common cause of this error is a failure of Java virtual machine to allocate enough memory" Check the memory settings in ......\proxy xml.
I attached proxy.xml for your documentation. Besides my workstation has 4 Gb RAM and Sun Java Runtime Environment v 6.0_11. 
"Other possible reasons for this failure are that one or more JARS are not present or some other configuration problem exists." Not very disclosing I suppose ...
I set the environment variables : XMOG_TRACE_LEVEL= Verbose and XMOG_TRACE_FILE=c:\xmogtrace.txt, tried to log on again, but no file or information is generated on c:\xmogtrace.txt and the error is the same.
Please see the following technote in ibm.com which discusses solution for this issue:
http://www-01.ibm.com/support/docview.wss?rs=14&uid=swg21370513

JBOSS Application Server getting hanged on Production environment

Can someone please give detailed way to monitor JBOSS app server ?
The production application running on JBOSS server starts working fine after restarting the server. How do I identify what is the cause behind it?
To see what is "hung", try getting a thread dump from your JBoss instance by running it in the foreground from a command shell. Then on Linux, send a kill -3 [PID] to JBoss to dump its thread state to stdout. On Windows, you would type Control-Break in the CMD shell running JBoss. Alternatively, use a monitoring tool like VisualVM.

During Open(), SqlConnection.ServerVersion throws System.InvalidOperationException

When running a webservice, web page that knows how to respond. The service connects to a dbase. During the sqlconnection.open call, ASP .NET code throws the following exception:
sqlConnection.ServerVersion' threw an exception of type 'System.InvalidOperationException'
NOTE: I'm running this on my dev machine. When it runs on live web server, all is well. It is unique to my system.
I'm I missing a configuration setting with Sql Server 2008?
NOTE: recently upgraded from Sql Server 2005 to 2008
This could possibly be caused by a difference in your web.config between the live server and your dev machine. Have you checked that the connection string is properly specified?
Found problem. There was a space in the front of the connection string.