Java.lang.OutOfMemoryError: Java heap space While deploying 'ear' file
I am using below code to deploy an 'ear' file on weblogic 10.3
package com.qasource;
import java.io.*;
import java.util.Hashtable;
import weblogic.deploy.api.tools.*; //SesionHelper
import weblogic.deploy.api.spi .*; //WebLogicDeploymentManager
import javax.enterprise.deploy.spi.TargetModuleID;
import javax.enterprise.deploy.spi.status.ProgressObject;
import javax.enterprise.deploy.spi.status.DeploymentStatus;
import javax.enterprise.deploy.shared.ModuleType;
import javax.enterprise.deploy.spi.Target;
import javax.management.MBeanServerConnection;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.remote.JMXServiceURL;
import javax.naming.Context;
public class WeblogicTest
public static void main(String ar[]) throws Exception
System.out.println("Start Deploying");
WebLogicDeploymentManager deployManager=SessionHelper.getRemoteDeploymentManager( "t3", "10.0.0.47", "7003", "weblogic",
"weblogic123");
System.out.println("Deploy Manager : " + deployManager);
DeploymentOptions options = new DeploymentOptions();
options.setName("TC33"); //TODO
Target targets[] = deployManager.getTargets();
System.out.println("Target : " + targets);
Target deployTargets[]=new Target[1];
int temp=0;
for (temp=0; temp < targets.length; temp++){
if(targets[temp].getName().equals("new_ManagedServer_1")){
deployTargets[0]=targets[temp];
ProgressObject processStatus=deployManager.distribute(deployTargets, new
File("\\\\10.0.0.47\\Builds\\VertexTest\\domain1\\tc3.3b74_6.2.2011.19\\test-3.3.0.0074.ear"), null,options);
DeploymentStatus deploymentStatus=processStatus.getDeploymentStatus() ;
System.out.println("UnDeploymentStayus.getMessage(): "+deploymentStatus.getMessage() );
Thread.sleep(5000);
TargetModuleID[] targetModuleIDs=deployManager.getAvailableModules(ModuleType.EAR, deployTargets);
System.out.println("\n\t targetModuleIDs [] = "+targetModuleIDs);
for (int j=0;j<targetModuleIDs.length;j++){
System.out.println("\n\t "+targetModuleIDs[j]);
deployManager.start(targetModuleIDs);
deployManager.start(targetModuleIDs);
}My environment: Window XP
Weblogic: 11g
ear file size: 97886 KB
Admin server arguments: -Xms=512m Xmx=512m
Managed server arguments: -Xms=512m Xmx=512m
But above code is showing java.lang.OutOfMemoryError: Java heap space:
below is the log statements:
Start Deploying
Deploy Manager : [email protected]eb5
Target : [Ljavax.enterprise.deploy.spi.Target;@fd918a
<Jun 3, 2011 11:20:17 AM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating distribute operation for application, TC33 [archive: \\10.0.0.47\Builds\VertexTest\domain1\tc3.3b74_6.2.2011.19\test-ear-3.3.0.0074.ear], to new_ManagedServer_1 .>
UnDeploymentStayus.getMessage(): java.lang.OutOfMemoryError: Java heap space
targetModuleIDs [] = null
Exception in thread "main" java.lang.NullPointerException
at com.qasource.WeblogicTest.main(WeblogicTest.java:48)
<Jun 3, 2011 11:21:21 AM IST> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
Can any tell me how to resolve this issue.
Edited by: 861978 on Jun 2, 2011 10:51 PM
Edited by: 861978 on Jun 2, 2011 10:52 PM
Hi,
Yes,René van Wijk has said rite..
Just open the Weblogic console,
expand Environment-->Server-->(ur managed server)-->Server Start tab
Just enter the below lines in Arguments:
-Xms1024m -Xmx1024m -XX:MaxPermSize=256m
Then bounce your managed server
This should solve your problem
Regards
Fabian
Similar Messages
-
Hello all,
I am trying to deploy EAR(has more than 25 ejb's) in weblogic 9.2 but currently one EJB ejb-pwc.jar is failing to compile(gives out of memory error). But if i try building ear only with this EJB and its dependencies class it work. Here is the errror. Please help me to figure out this issue. Thanks in advance,
Exception preparing module: EJBModule(ejb-pwc.jar) Unable to deploy EJB: ejb-pwc.jar from ejb-pwc.jar: There are 1 nested errors: java.io.IOException: Compiler failed executable.exec: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:435) at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295) at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:308) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:496) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:463) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:430) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:752) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:655) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1199) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:354) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Compiler failed executable.exec: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap spaceI'd suggest pre-compiling the application before deployment.
java weblogic.appc my.ear
(You may need to increase the heap size here as well.)
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
Hello all,
I am trying to deploy EAR(has more than 25 ejb's) in weblogic 9.2 but currently one EJB ejb-pwc.jar is failing to compile(gives out of memory error). But if i try building ear only with this EJB and its dependencies class it work. Here is the errror. Please help me to figure out this issue. Thanks in advance,
Exception preparing module: EJBModule(ejb-pwc.jar) Unable to deploy EJB: ejb-pwc.jar from ejb-pwc.jar: There are 1 nested errors: java.io.IOException: Compiler failed executable.exec: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:435) at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295) at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:308) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:496) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:463) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:430) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:752) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:655) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1199) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:354) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Compiler failed executable.exec: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap spaceI'd suggest pre-compiling the application before deployment.
java weblogic.appc my.ear
(You may need to increase the heap size here as well.)
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
I am using IBPELDomainHandle.deploySuitcase() API to deploy a bpel process. Each time, I got ServerException with the following error message: java.lang.OutOfMemoryError: Java heap spac
What configurations should I perform to the BPEL server in order to get rid of the outofmemeory error?
BTW: I was able to deploy the same bpel process by uploading the jar file to $OH/bpel/domains/default/deploy directory.
Thanks,
QianHi Qian,
Check the -Xmx JVM setting in the OC4J_BPEL configuration. Raise the amount of MB to allow JVM to use more memory.
Regards,
René -
"java.lang.OutOfMemoryError: Java heap space" while trying to read Excel.
Hi Experts,
Here is my query. I'm trying to upload excel data into database table. This excel contains more than 20000 records. I'm storing this data in a vector after reading it & passing this vector as a parameter to another method(not mentioned in the below code) which writes into the database. The code works for records <4000, but fails to read beyond that & throws exception as below.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Java heap space
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: Java heap space
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.readexcelsap_jsp._jspService(readexcelsap_jsp.java:365)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.OutOfMemoryError: Java heap space
Below is the code for reference. Kindly Help me in getting this heap space error rectified or suggest me alternate ways.
I tried increasing Heap space as googled but in vain.
<%!
private Vector readExcelSheet(String uploadedFilePath, int sheetNo) throws IOException
Vector allRowInfo = null;
try
HSSFSheet sheet= getWorkSheet(uploadedFilePath,sheetNo);
//System.out.println(uploadedFilePath);
//System.out.println(sheetNo);
//System.out.println("--Sheet--"+sheet);
//System.out.println("--Sheet--"+sheet.getLastRowNum());
if(sheet!=null)
allRowInfo = new Vector();
for(int i=0;i<=sheet.getLastRowNum();i++)
HSSFRow row= sheet.getRow(i);
Vector eachRowInfo = new Vector();
for(short j=0;j<row.getLastCellNum();j++)
eachRowInfo.add(getCellContents(row.getCell(j)));
//System.out.println("--"+row.getCell(j));
allRowInfo.add(eachRowInfo);
else
allRowInfo = null;
//return allRowInfo;
catch (FileNotFoundException ex)
System.out.println("-- Error in reading--getWorkSheet -- 1--"+ex);
allRowInfo = null;
catch (IOException ex)
System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
allRowInfo = null;
catch (IndexOutOfBoundsException ex)
System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
allRowInfo = null;
catch (NullPointerException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
allRowInfo = null;
catch(Exception e)
System.out.println(e.getMessage());
e.printStackTrace();
allRowInfo = null;
return allRowInfo;
%>
<%!
private HSSFSheet getWorkSheet(String uploadedFilePath, int sheetNo) throws IOException
HSSFSheet sheet = null;
try
FileInputStream inputStream=new FileInputStream(uploadedFilePath);
POIFSFileSystem poisFile=new POIFSFileSystem(inputStream);
HSSFWorkbook workBook= new HSSFWorkbook(poisFile);
sheet = workBook.getSheetAt(sheetNo);
catch (FileNotFoundException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (IOException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (IndexOutOfBoundsException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (NullPointerException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch(Exception e)
System.out.println(e.getMessage());
e.printStackTrace();
sheet = null;
return sheet;
%>
<%!
public String getCellContents(HSSFCell cell)
String cellValue="";
String cellValue1="";
if(cell!=null)
int cellType= cell.getCellType();
if(cellType==HSSFCell.CELL_TYPE_NUMERIC)
cellValue=(float)cell.getNumericCellValue()+"";
if(cellType==HSSFCell.CELL_TYPE_STRING)
cellValue1=cell.getStringCellValue();
StringBuffer sb = new StringBuffer();
for(int i = 0; i < cellValue1.length(); i++)
sb.append(cellValue1.charAt(i));
if(cellValue1.charAt(i)=='\'')
sb.append('\'');
cellValue = sb.toString();
return cellValue;
%>
<html>
<body>
<%
String file_Name="Myexcel.xls";
String path = "D://Test Upload//"+file_Name;
Vector list = readExcelSheet(path,0);
</html>
</body>Regards
Venky
Edited by: Venky_86 on Jun 17, 2009 6:05 AMHOW did you increase the heap space? As that is the only solution you have in this case really.
It is a known fact that POI can use up a lot of memory for big spreadsheets. If at all possible, I would try to switch to plain text comma separated files / tab delimited files. If you cannot do that, I would try to put a size restriction on the sheets that your application will process to get rid of the heap space risk. A sheet can contain 20000 records, or four sheets can contain 5000 records; in both cases you process the exact same data, but at only 25% of the total memory usage. -
One app service getting "java.lang.OutOfMemoryError: Java heap space"
We are running a commercial app on WebLogic 9.2. Two physical servers with 5 application processes running on each in a single cluster. on the server in question, we have 5.5 gigs of free ram at the moment and still getting the message below.
We have 10 app servers and one is getting this message. the full text of it is:
####<Apr 13, 2011 10:58:12 AM CDT> <Warning> <DeploymentService> <lxwbwapa> <workbpr2_node_1a> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302710292663> <BEA-290064> <Deployment service servlet encountered an Exception while handling the deployment service message for request id "-1" from server "Admin_pr2_a". Exception is: "java.lang.OutOfMemoryError: Java heap space
".>
I dug back through the logs and found it started a couple of weeks ago. I have been able to log into this app server without issue.
Something else I have noticed is that the total heap size for all the app services have shrunk from the initial value of 1.5G - they have all dropped down into the 500 meg range. Is this normal? Why has this one not increased the size of the heap if it is running out of memory?
I could restart the service for this app server but I would not know the cause and since it is a production server where I am not recieving complaints, I am hesitant to go through the res tape to do a re-start.
Any information or past experience with this type issue is greatly appreciated.
Thanks,
WHello,
You might want to post this in the weblogic forum: WebLogic Server - General
as they might be able to explain how WebLogic uses or releases resources.
Regards,
Chris -
J2EE engine restart with java.lang.OutOfMemoryError Java heap space
Hi
I hope someone can help me, I have an error on my J2EE engine.
My portal restarts only when I click on User - Administration - Identity Management.
Here is the log error.
Exception id: [000000000000005B0000001C0000098800045ACD637E87AB]#
#1.5^H#0000000000000059000000690000098800045ACD6EF06673#1225738282886#com.sap.engine.frame.Environment##com.sap.engine.frame.
Environment#J2EE_GUEST#0##host_SID_4130050#J2EE_ADMIN#40cf7230a9d811dda9f9000000000000#SAPEngine_Application_Thread[impl:3
]_13##0#0#Error#1#/System/Server/Critical#Plain###FATAL: Caught OutOfMemoryError! Node will exit with exit code 666#
#1.5^H#00000000000000590000006A0000098800045ACD6EF06833#1225738282886#com.sap.engine.frame.Environment##com.sap.engine.frame.
Environment#J2EE_GUEST#0##host_SID_4130050#J2EE_ADMIN#40cf7230a9d811dda9f9000000000000#SAPEngine_Application_Thread[impl:3
]_13##0#0#Fatal#1#/System#Java###FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
[EXCEPTION]
#1#java.lang.OutOfMemoryError: Java heap space
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:127)
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at com.sap.security.core.wd.assignusermapping.wdp.InternalAssignUserMappingComp.<init>(InternalAssignUserMappingComp.
java:173)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getImplementingInterfaceViewInfo(ComponentUsage.java:403)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getViewManagerFor(ClientComponent.java:305)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:628)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:694)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
Thanks for your helppretty obvious to me "java.lang.OutOfMemoryError: Java heap space"
Read,
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/(Kernel)OOM
or
java.lang.OutOfMemoryError: Java heap space
those links should give you a fairly good idea on how to solve the issue.
Regards
Juan -
How to solve : java.lang.OutOfMemoryError: Java heap space
Dear all,
Am using Jdeveloper 11.1.1.3 with weblogic10...
I keep getting out of memory error while working on the application , here is the exact error message that i copied from the server log :
####<28/11/2010 GMT 09:17:58 ص> <Critical> <Health> <javaserver> <AdminServer> <weblogic.GCMonitor> <<anonymous>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-0000000000000012> <1290935878582> <BEA-310003> <Free memory in the server is 4,541,416 bytes. There is danger of OutOfMemoryError>
####<28/11/2010 GMT 09:24:51 ص> <Error> <Kernel> <javaserver> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-0000000000000029> <1290936291218> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: Java heap space.
java.lang.OutOfMemoryError: Java heap space
>
####<28/11/2010 GMT 09:25:04 ص> <Notice> <Diagnostics> <javaserver> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002c> <1290936304406> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'AdminServer' has triggered at 28/11/2010 GMT 09:24:56 ص. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = 28/11/2010 GMT 09:24:51 ص SERVER = AdminServer MESSAGE = ExecuteRequest failed
java.lang.OutOfMemoryError: Java heap space.
java.lang.OutOfMemoryError: Java heap space
SUBSYSTEM = Kernel USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000802 MACHINE = javaserver TXID = CONTEXTID = 3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-0000000000000029 TIMESTAMP = 1290936291218
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
####<28/11/2010 GMT 09:25:36 ص> <Warning> <oracle.dfw.framework> <javaserver> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002c> <1290936336549> <DFW-40121> <failure creating incident from WLDF notification
java.lang.OutOfMemoryError: Java heap space
>
####<28/11/2010 GMT 09:26:32 ص> <Notice> <WebLogicServer> <javaserver> <AdminServer> <Thread-1> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002f> <1290936392224> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
####<28/11/2010 GMT 09:26:35 ص> <Alert> <WebLogicServer> <javaserver> <AdminServer> <Thread-1> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002f> <1290936395303> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
####<28/11/2010 GMT 09:26:35 ص> <Notice> <WebLogicServer> <javaserver> <AdminServer> <Thread-1> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002f> <1290936395303> <BEA-000365> <Server state changed to FORCE_SUSPENDING>
####<28/11/2010 GMT 09:26:53 ص> <Notice> <WebLogicServer> <javaserver> <AdminServer> <Thread-1> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002f> <1290936413632> <BEA-000365> <Server state changed to ADMIN>
####<28/11/2010 GMT 09:26:56 ص> <Notice> <WebLogicServer> <javaserver> <AdminServer> <Thread-1> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002f> <1290936416757> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
####<28/11/2010 GMT 09:26:59 ص> <Notice> <Server> <javaserver> <AdminServer> <DynamicListenThread[Default[1]]> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-0000000000000035> <1290936419289> <BEA-002607> <Channel "Default[1]" listening on 127.0.0.1:7001 was shutdown.>
####<28/11/2010 GMT 09:27:07 ص> <Notice> <WebLogicServer> <javaserver> <AdminServer> <Thread-41> <<WLS Kernel>> <> <3e9ac2aaa3059905:3bfb8868:12c91bef422:-8000-000000000000002f> <1290936427508> <BEA-000378> <Server failed to shutdown within the configured timeout of 30 seconds. The server process will exit now.>
i searched the net and it seems that i should increase the java heap size , how can i do that... I have a server with 4G Ram ..
Regards,
Lama
Edited by: Delta on Nov 28, 2010 1:36 AMMy frien google tells me that you use
>
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
This can have two reasons:
* Your Java application has a memory leak. There are tools like YourKit Java Profiler that help you to identify such leaks.
* Your Java application really needs a lot of memory (more than 128 MB by default!). In this case the Java heap size can be increased using the following runtime parameters:
java -Xms<initial heap size> -Xmx<maximum heap size>
>
Timo -
How to solve this ERROR --java.lang.OutOfMemoryError: Java heap space
I am Trying to read one TEXT file line by line. file size is approx. 7 MB or it contain approx. 35000 line of text.
i am processing that file and export data into another file.
mean while after some line i get error like below,
java.lang.OutOfMemoryError: Java heap space
After this error process stop.
my application is in Java Swing and i m using java 1.5 version of SDK and JRE.
is it a JDK version Problem?
please can any one give me appropriate solutions for this.
give me answer please.............Are you able to post the code you use to read the file? Initially, I'd guess that you're stuck in a loop. Make sure you're getting out of all your loops. You can do this with breakpoints in your IDE's debugger, or by putting a println right after the loop.
It may also be that your IDE isn't allotted enough of your system's memory, though I doubt that is the case. You can easily google how to increase the memory allotted to the IDE.
For some reason, garbage collection isn't happening as you're expecting. Make sure you're not holding on to huge stuff any longer than you need to.
Edited by: Caryy on Aug 14, 2010 5:57 PM -
Hi All,
I would be very grateful if you would draw some light for this error I got from running a online database connected image viewer (applet).
The application is quite simple, applet connect to servlet, servlet send 3 SQL statements to MySQL and retrieve image info (Strings) and 50 Files (- JPEG image) from a online database, and then pass all of data to applet from servlet. The size of total of images is around 3.5 MB, and I've increased JVM memory to 128 MB by using code "-xmx128m".
? Do I need send images from servlet to applet individually rather than push them in one go
? Is there memory leak in my codes
Please see the codes below:
private ExamViewerApplet.CaseInfo[] getCaseInfoArray(int examID, Connection conn) throws SQLException{...}
private ExamViewerApplet.ExamInfo getExamInfo(int examID, Connection conn) throws SQLException{...}
private String processObject(Object object, ObjectOutputStream oos) {
Integer examID = (Integer) object;
Connection conn = null;
ExamViewerApplet.ExamInfo examInfo = null;
ExamViewerApplet.CaseInfo caseInfoArray[] = null;
int[][] imageIndexArray = new int[30][5];
ImageIcon[] imageArray = null;
try {
conn = new DBConnection().getConnection();
examInfo = this.getExamInfo(examID, conn);
caseInfoArray = this.getCaseInfoArray(examID, conn);
PreparedStatement ps = conn.prepareStatement(RETRIEVE_IMAGES);
ps.setInt(1,examID);
ResultSet rs = ps.executeQuery();
rs.last();
int size = rs.getRow();
rs.beforeFirst();
imageArray = new ImageIcon[size];
int imageIndex = 0;
while(rs.next()){
int caseID = rs.getInt("CaseID");
int imageID = rs.getInt("ImageID");
InputStream stream = null;
ByteArrayOutputStream output = null;
try {
stream = rs.getBinaryStream("Image");
output = new ByteArrayOutputStream();
byte buf[] = new byte[1024];
int len;
while((len = stream.read(buf)) > 0){
output.write(buf, 0, len);
ImageIcon icon = new ImageIcon(output.toByteArray());
imageArray[imageIndex] = icon;
imageIndexArray[caseID][0] += 1;
imageIndexArray[caseID][imageID] = imageIndex;
++imageIndex;
} catch (IOException ex) {
log("Error, when reading byte array from image input stream from database");
} finally{
try {
stream.close();
output.close();
} catch (IOException ex) {
log("Error, when tring to close image input stream from Database");
} catch (ClassNotFoundException classNotFoundException) {//somecode...
} catch (SQLException sQLException) {//somecode...
}finally{
try {
conn.close();
} catch (SQLException ex) {//somecode...
String result;
if(examInfo != null && caseInfoArray != null && imageIndexArray != null && imageArray != null ){
result = "The transaction was successed!";
try {
oos.writeObject(examInfo);
oos.writeObject(caseInfoArray);
oos.writeObject(imageIndexArray);
oos.writeObject(imageArray);
} catch (IOException ex) {
result = "The transaction was failed!";
}else{
result = "The transaction was failed!";
return result;
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
ObjectInputStream inputStreamFromApplet = null;
Object object = null;
try {
inputStreamFromApplet = new ObjectInputStream(request.getInputStream());
object = inputStreamFromApplet.readObject();
ObjectOutputStream oos = new ObjectOutputStream(response.getOutputStream());
String returnValue = this.processObject(object, oos);
oos.writeObject(returnValue);
oos.flush();
oos.close();
} catch (ClassNotFoundException classNotFoundException) {
classNotFoundException.printStackTrace();
} finally{
inputStreamFromApplet.close();
} And the error messages I got here is:
SEVERE: Servlet.service() for servlet ExamViewerServlet threw exception
java.lang.OutOfMemoryError: Java heap space
at javax.swing.ImageIcon.writeObject(ImageIcon.java:411)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at ExamViewerServlet.processObject(ExamViewerServlet.java:147)
at ExamViewerServlet.processRequest(ExamViewerServlet.java:176)
at ExamViewerServlet.doPost(ExamViewerServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:595)Please help.
Linqing
Edited by: discovery_java on Feb 1, 2010 2:12 PMwire the code into a simple unit test, then run a profiler on it to see where the memory is going. You need the help of these kind of tools to track down memory issues, before that it is only guesswork what might be soaking it all up.
-
Java outputstream java.lang.OutOfMemoryError: Java heap space
Hi All,
I am trying to publish a large video/image file from the local file system to an http path, but I run into an out of memory error after some time...
here is the code
public boolean publishFile(URI publishTo, String localPath) throws Exception {
InputStream istream = null;
OutputStream ostream = null;
boolean isPublishSuccess = false;
URL url = makeURL(publishTo.getHost(), this.port, publishTo.getPath());
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
if (conn != null) {
try {
conn.setDoOutput(true);
conn.setDoInput(true);
conn.setRequestMethod("PUT");
istream = new FileInputStream(localPath);
ostream = conn.getOutputStream();
int n;
byte[] buf = new byte[4096];
while ((n = istream.read(buf, 0, buf.length)) > 0) {
ostream.write(buf, 0, n); //<--- ERROR happens on this line.......???
int rc = conn.getResponseCode();
if (rc == 201) {
isPublishSuccess = true;
} catch (Exception ex) {
log.error(ex);
} finally {
if (ostream != null) {
ostream.close();
if (istream != null) {
istream.close();
return isPublishSuccess;
}HEre is the error i am getting...
Exception in thread "Thread-8773" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
at com.test.HTTPClient.publishFile(HTTPClient.java:110)
at com.test.HttpFileTransport.put(HttpFileTransport.java:97)Edited by: ashchawla on Jan 17, 2010 9:21 AMIt seems that the HttpURLConnection tries to buffer all the data you want to send and doesn't stream the data as it comes.
This means that you will need at least as much memory as the size of your file (more likely you'll need quite a bit more). This is definitely not ideal for sending huge files, so you might want to look at other HTTP clients, if they are better at handling huge files.
Try the Apache Commons HTTPClient. I've heard good things about it.
Thanks for crossposting. You will not get any more help from me. Not here, not on SO. -
WEBLOGIC - java.lang.OutOfMemoryError: Java heap space
hi,
i am using Weblogic 10.3 in production mode
We are getting error " java.lang.OutOfMemoryError: Java heap space " frequently , and
we are using the default args
JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
OS - > Windows Server 2003
please help
Regards
Jeethi GeorgeHi George,
The Setting you have provided is wrong ...that is the reason you are getting OutOfMemory in Heap.
Your Setting is (As you have mentioned in your very first post): JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
Just a Bit Explaination:
Formula:
(OS Level)Process Size = [ Java Heap (+) Native Space (+) (2-3% OS related Memory) ]
PermSize : It's a Netive Memory Area Outside of the Heap, Where ClassLoading kind of things happens. In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
Now Lets take the default Process Size=2GB (Windows), Now As you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
(ProcessSize - HeapSize) = [Native (+) (2-3% OS related Memory)]
2048 MB - 512 MB = 1536 MB
THUMB RULES:+
MaxPermSize = (MaxHeapSize/3) ----Very Special Cases
MaxPermSize = (MaxHeapSize/4) ----Recommended
In your Case -Xmx and -XX:MaxPermSize bith are same ....That is the reason you are getting the OutOfMemory Error in Heap.
We should increase/tune the MaxPermSize when we deploy a very large application (like a WebApplication which uses many JSPs, or PageFlows/Portal framework etc.) in our Server.
What should be the exact setting of these parameters depends on the Environment /Applications etc...
But Just try -Xmx1024m -Xms1024m -XX:MaxPermSize256m
Another recommendation for fine tuning always keep (Xmx MaxHeapSize & Xms InitialHeapSize same).
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Hi,
I am getting the below error while trying to run any report in workspace
<?xml version="1.0" encoding="UTF-8"?>
<BpmResponse action="" type="error">
<code>0</code>
<desc>Java heap space</desc>
<trace><![CDATA[java.lang.OutOfMemoryError: Java heap space
]]></trace>
</BpmResponse>
Looking for a qucik response!!!
Thanks
RamyaYou are running out of memory. You can change the allocated java heap space for reporting if you haven't tried that already.
Here is a thread regarding how to change the java heap space. Oracle recommends setting your -xmx to 1024.
JVM Heap Size setting
Hope this helps,
DQ -
"java.lang.OutOfMemoryError: Java heap space" hyp planning refresh
Hello friends,
We are getting "java.lang.OutOfMemoryError: Java heap space" error while refresh or create database from planning to essbase after bulk metadata into planning
we have already set Xmx,Xms as 1024m,1024m
We are in version 11.1.1.3. our server confg is 1CPU with 8 GB ram.this new setup
We have installed planning only on this mechine.
Thanks,
venkatHow many members have you loaded into planning.
Cheers
John
http://john-goodwin.blogspot.com/ -
Trouble with "java.lang.OutOfMemoryError: Java heap space"
Hello,
I use a Java-based modeling tool that very few out there are probably familiar with. This tool allows me to run models (program) from within the development environment, to create Applets or create jar files that can be executed in a stand-alone fashion.
I am using a database on my local harddrive to read in some data using JDBC, so am not using the Applet option with certificates. The development environment is expensive, so can't be distributed. That leaves the stand-alone option.
The model (program) I've written runs perfectly fine in the development environment and, previously, has worked fine as a stand-alone program. However, the stand-alone option isn't working anymore, because I keep getting this error.
I am not much of a Java programmer; I'm learning as I go along. If anyone can help me solve this, I'll be most appreciative
From my cmd prompt:
C:\Documents and Settings\072\Desktop\TA\for\for Applet Files>cd "C:\D
ocuments and Settings\072\Desktop\TA\for\for Applet Files"
C:\Documents and Settings\072\Desktop\TA\for\for Applet Files>java -cl
asspath enterprise_library.jar;business_graphics_library.jar;for.jar;xjanylog
ic5engine.jar for/Main$Simulation
Started...
AnyLogic simulation engine has started [$Id: Engine.java,v 1.134 2004/12/03 08:4
9:39 basil Exp $]
java.lang.OutOfMemoryError: Java heap space
setting error: Exception during root.courseQueue-1556 startup: java.lang.OutOfMe
moryError: Java heap space
thread = Thread[Model Creation Thread,5,main]
engine = com.xj.anylogic.Engine@1099257
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap spac
e
java.lang.OutOfMemoryError: Java heap space
setting error: Exception during startup: java.lang.OutOfMemoryError: Java heap s
pace
thread = Thread[Model Creation Thread,5,main]
engine = com.xj.anylogic.Engine@1099257
java.lang.OutOfMemoryError: Java heap space
setting error: Exception in statechart 'root.courseExit-0.inputProcessor' entry
actions: java.lang.OutOfMemoryError: Java heap space
thread = Thread[AnyLogic main thread,5,main]
engine = com.xj.anylogic.Engine@1099257
java.lang.OutOfMemoryError: Java heap space
setting error: Exception in statechart 'root.courseDelay-0.inputProcessor' entry
actions: java.lang.OutOfMemoryError: Java heap space
thread = Thread[AnyLogic main thread,5,main]
engine = com.xj.anylogic.Engine@1099257
java.lang.OutOfMemoryError: Java heap space
setting error: Exception in statechart 'root.courseDelay-1.inputProcessor' entry
actions: java.lang.OutOfMemoryError: Java heap space
thread = Thread[AnyLogic main thread,5,main]Exception in thread "AWT-EventQueu
e-0"
java.lang.OutOfMemoryError: Java heap space
engine = com.xj.anylogic.Engine@1099257Hi I am ancountering the same problem with the 'heap space'.
Is there any way I can find out what it is set to for my system? I dont believe its 32Mb and dont want to increase it randomly to too large a size if theres no need for it.
Thanks,
Bobby
Maybe you are looking for
-
How To create a message Choice for a page?
Hi, I need to create a message choice for a page and on selection of that it should navigate me to next page..like ex: If iam havng 10 locations like Delhi,Hyderabad,Chennai.... I need to select one of them and it should be navigated to next page bas
-
I have already done part 1 but I cant get part 2 can someone please help me and give me a good example or show me the correct way to do #2 my part one looks like this : import java.text.DecimalFormat; public class ElapsedTime { private int nDays
-
Boolean representation in RFC xml
Hello, I have problems with representing boolean values in an RFC xml call using XI towards SAP. Using 'X' as a value for true does not seem to work. The BAPI I am calling through RFC xml is BAPI_CHARACT_CREATE and I am trying to set the parameter IN
-
Tell Windows that 6680 supports Ogg files
Hi! This is a bit complicated, but I will try my best: When I install PC Suite my Phone(6680) get's detected as a Phone via "Nokia Phone Browser". When I now install Windows Media Player 11 it get's detected as a Camera and as a Mobile directly in "M
-
Client IP 추적에 관해서 문의드립니다.
Client PC - > Proxy Server - > Oracle Web Server Proxy Server : Linux Oracle Web Server : Windows 2003 32bit 위와 같은 구성으로 웹페이지를 만들어서 사용하고 있는데 클라이언트가 오라클 웹서버를 바로 붙을 때는 REMOTE_ADDR 을 통해서 IP가 추적이 가능한데 프락시 서버를 거치면 REMOTE_ADDR에 Proxy Server의 IP가 기록됩니다. Clie