Source file for java.util.Vector not found ?
Hi !
In the Source Editor, hold down the Ctrl key and move the mouse over a class identifier belonging to the NetBeans APIs. A hyperlink appears. Click on the hyperlink and the cursor jumps to the related NetBeans API class.
(Alt--O)
Can anybody tell me, why this doesn't work in an Mobile Application ?
thanks.
(Show JavaDoc (Alt-F1) doesn't work in Mobile and EE ??)
do you link javaee and javame sources with Netbeans?
(you should ask it on a NetBeans forum??)
Similar Messages
-
Error:Class java.util.date not found
i have installed 9iAS on my computer.And i want to develop program on JSP.i tried the url below
http://eyuksel/servlet/IsItWorking
and i got "it is working" message.when i try to execute my first jsp file i get the error:
Errors compiling:d:\ias\apache\apache\htdocs\_pages\\_first.java
d:\ias\apache\apache\htdocs\_pages\_first.java:55: Class java.util.date not found.
out.print( new java.util.date() );
^
1 error
what must i do or how can i install the java classes.
kind regards...
nullThank you very much.It worked:)
Java is case-sensitive.
try
java.util.Date
instead of
java.util.date
null -
Need to find the source code for java.util.LinkedList
Hello all,
I'm new to the forums and I actually need the LinkedList source file as well as all the source files for all Java packages and libraries. Please post a link here if you can, or email me at [email protected]
Thanks again!
copter_manBut those must be platform dependant, not really that
interesting to look at. I have never felt any need to
look at those at least.Wake up and smell the coffee, abbie! I read the source code all the time and constantly tell my students to do that, too.
1. Java source code is not platform dependent. The original poster wanted to look at linked list code, how could that be platform dependent?
2. It is the implementation of the SDK APIs, so by definition it is implementation dependent code, liable to change in a later version. So don't assume anything beyond what is claimed in the API documentation. However, sometimes the documentation is incomplete or ambiguous to you, and reading the source can provide some insight, however implementation dependent. (Light a candle or curse the darkness.)
3. Why read source code? It's a good way to learn how to program. You see something in the API and ask: how'd they do that? Or you realize you want to do something broadly similar, but you can't reuse the source code.
For example, Images are not Serializable, but suppose you want a small image that is part of an object to be serialized with the rest of the object without too much fuss (ie, without using javax.imageio). You notice ImageIcon is serializable, so you use it. (An ImageIcon has-an Image.) Then you wonder: how'd they do that? You read the source and then you know.
You live, you learn,
Nax -
For weeks I have been viewing a doggy day care center via their web cam. This weekend I upgraded to Lion and have been unable to view the center. I get an error message for Java plug-in 1.6.0_29 ....webcam class not found. Any suggestions on how to fix this?
Sorry, don't know what else to suggest unless there's a URL to the problem stream that someone here can try. Otherwise we can't test it to try and determine what might be wrong.
BTW, make sure they're testing it with a Mac, not with a Windows system. If they test only with Windows, what they say is or is not working doesn't mean much.
Regards. -
Tutorial-Files for WinCe (Transport.vb) not found
Hello,
after the installation of Oracle9iLite (Download of 5.0.2.) I tried to test the product. In the documentation "Developer's Guide for Windows CE" in chapter 'Building Offline Mobile Applications for
Windows CE: a Tutorial' I found a tip where these tutorial-files are usually located:
<ORACLE_HOME>\mobile\sdk\wince\samples\tutorial\Transport
But I don't find the directory "tutorial" in the "samples"-folder. Could anyone send me these files to "[email protected]".
Thank you
MartinHello,
I found out that the following ZIP-file is missing in the downloaded version:
http://mobile.us.oracle.com/ompm/site/olite/tutorial/Transport/Transport.zip
Has someone this file and could mail it to [email protected]
Thanks
Martin -
Error: Class java.util.ArrayList not found in import
Bear with me, I'm learning. That's part of the problem.
I'm trying to teach myself JSP using a book based on Tomcat, but running it on an Oracle 9iAS server that I don't control. (The DBAs do that.) I'm running into constant problems compiling and using classes and such, I think because of the different directory structures on the two servers. (See subject error.)
So, what I'd like to know is: how do I set up a default/main/whatever-you-want-to-call-it directory under which I can store my practice applications, such that 9iAS will function correctly? We're not using OC4J as far as I can see (no such directory, though there is a J2EE_containers folder), just JServ. Or, conversely, can someone explain in simple terms the basic 9iAS directory structures for deploying apps on 9iAS? I've been 'round and 'round the Oracle documentation until my head spins, and can't find this basic information.
Help, please!!You will have to make Kawa to use the correct jdk
Look into
Options-> Directory
Make a new Profile if it point to your old jdk version
Thanks
Joey -
The java class is not found: oracle/aurora/util/Wrapper
When I try and load my Java class file using 'loadjava' into Oracle I'm getting the error:
The java class is not found: oracle/aurora/util/Wrapper
What is causing this?On which machine should ORACLE_SID be set to solve this problem, server or client. I run into this error when run loadjava
-
I keep trying to install Firefox 3.6.10, and it seems to work, but then when it comes time to accept the user agreement, that option is grayed out and I can only go back. In the Software License Agreement box is the following message: "The license file for this version could not be found. Please visit Firefox homepage for more information."
Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.<br />
Don't remove personal data when uninstalling.
It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
You can skip the step to create a new profile, that is not necessary for this issue.
See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall
Your above posted system details show outdated plugin(s) with known security and stability risks.
# Shockwave Flash 10.1 r82
# Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
Update the [[Java]] plugin to the latest version.
*http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE) -
Logon Error:Could not retrieve the source file for Port "Main"
Hi All,
We have a port which is blocked due to structural exceptions.When i try to connect to the Exceptions folder
"Main[Exceptions]" the import manager throws an error "Logon Error:Could not retrieve the source file for port "Main".
Any help greatly appreciatedHi ,
Thanks for your reply.
This is what I see in the log file in the exceptions folder
These are the line I see almost to the end of the log file before they complete field mappings,value addings
<Failure ts="2008/07/22 00:10:48.326 GMT" tid="1286" entry-no="9114" operation="Create lookups" rc="0x80000001">Illegal value for parameter</Failure>
<Timer ts="2008/07/22 00:10:48.327 GMT" tid="1286" entry-no="9115" name="Import Lookup" total="0.040819">1</Timer>
<Trace ts="2008/07/22 00:10:48.327 GMT" tid="1286" entry-no="9116">Import of Lookup Failed.</Trace>
But when I open the same source xml file after downloading to my local folder from Exceptions Structural folder and load manually using IM i get the status as "Ready to import".
Any Help greatly appreciated -
My Bluetooth has disappeared and I have tried just about everything on the internet. When I click on Bluetooth file exchange it says hardware not found. I tried resetting everything as well nothing is working for me please help because now my facetime doesn’t work neither does photo booth and now I cannot text people off my laptop unless they have iMessage.
If you followed the instructions in the support article exactly (leaving the machine off for two minutes), then it has a hardware fault. Take it to an Apple Store or other authorized service provider for repair.
-
The latest upgrade 3.6.8 downloaded but would not install. Error message read "the licence file for this version could not be found.". Visit Firefox homepage for more info
== I tried to install the latest Firefox upgrade. Have tried about 6 timesIt can also help if you delete the Firefox program folder (C:\Program Files\Mozilla Firefox) before installing a new full Firefox copy.
See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall
It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that are locked in any way.
You can skip the step to create a new profile, that is not necessary for this issue. -
Unable to find data source null [Caused by: jdbc/Apps1DataSource not found]
Hi,
I am using OA Adapter which listens to an EBiz HRMS event, and I am encountering the following error in $Home\j2ee\oc4j_soa\log\oc4j_soa_default_group_1\oc4j\log.xml while registering the ESB service.
Error details:
<MSG_TEXT>Failed to process control event for Service "DefaultSystem.SyncWorkerPartyEbizOAAdapter" due to an error while adding the Service! Reason : oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "ORABPEL-12517
AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
The Resource Adapter Oracle Applications Resource Adapter was unable to activate the endpoint oracle.tip.adapter.apps.AppsWFBesQueueDequeueActivationSpec:{MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.per.api.person.update_person', QueueName=WF_BPEL_Q, Consumer=ORA_6krj2dpn70s36c1g6h1k8dhi8h, DatabaseSchema=APPS, AppsEventSchema=ANY_SCHEMA} due to the following reason: javax.resource.ResourceException: Unable to find data source null Caused by: jdbc/Apps1DataSource not found
Please correct the reported issue and redeploy the BPEL process.
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateInboundJcaEndpoint(ESBActivationAgent.java:390)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.performEndpointActivation(ESBActivationAgent.java:306)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:236)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:209)
at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateEndpoint(InboundAdapterService.java:177)
at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateService(InboundAdapterService.java:119)
at oracle.tip.esb.server.service.EsbServiceFactory.activateEsbService(EsbServiceFactory.java:222)
at oracle.tip.esb.server.service.EsbServiceFactory.addEsbService(EsbServiceFactory.java:240)
at oracle.tip.esb.server.common.RuntimeESBSystem.addService(RuntimeESBSystem.java:211)
at oracle.tip.esb.common.system.ServiceEventsHandler.handleCreateService(ServiceEventsHandler.java:72)
at oracle.tip.esb.common.system.MetadataChangeListener.handleServiceEvent(MetadataChangeListener.java:136)
at oracle.tip.esb.common.system.MetadataChangeListener.onMetadataChange(MetadataChangeListener.java:85)
at oracle.tip.esb.common.control.ControlMessageHandler.handleMessage(ControlMessageHandler.java:115)
at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:162)
at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:120)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: Unable to find data source null
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:411)
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getConnection(AppsManagedConnectionFactory.java:288)
at oracle.tip.adapter.apps.AppsManagedConnection.getConnection(AppsManagedConnection.java:85)
at oracle.tip.adapter.apps.AppsConnection.getJdbcConnection(AppsConnection.java:70)
at oracle_tip_adapter_apps_AppsConnection_Proxy.getJdbcConnection()
at oracle.tip.adapter.aq.database.MessageReader.establishDBconnection(MessageReader.java:358)
at oracle.tip.adapter.aq.database.MessageReader.<init>(MessageReader.java:265)
at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.init(AQActivationSpecDequeuer.java:142)
at oracle.tip.adapter.aq.AQEndpoint.<init>(AQEndpoint.java:99)
at oracle.tip.adapter.aq.AQResourceAdapter.endpointActivation(AQResourceAdapter.java:73)
at oracle.tip.adapter.apps.AppsResourceAdapter.endpointActivation(AppsResourceAdapter.java:147)
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:541)
... 20 more
Caused by: javax.naming.NameNotFoundException: jdbc/Apps1DataSource not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:408)
... 31 more
</MSG_TEXT>
I have added the connection properties in $Home\j2ee\oc4j_soa\application-deployments\defaul\oc4j-ra.xml as follows:
<connector-factory location="eis/Apps/apps1" connector-name="Oracle Applications Adapter">
<config-property name="xADataSourceName" value="jdbc/AIADataSource"/>
<config-property name="dataSourceName" value=""/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>
</connector-factory>
Please correct me if the connection properties are wrong.
I tried AppsEventSchema with 'NO-SCHEMA' and 'ANY-SCHEMA' also.
If I use File Adapter I was able to register the ESB and instances were created successfully.
My versions:
JDEV: 10.1.3.3.0
SOA: 10.1.3.3.0
I have done a lot of research on this but in vain. Is there any patch for rectifying this error?
Help me on this issue pl.
Regards
RKYou need to check your datasource name jdbc/AIADataSource
Check out your data-sources.xml to make sure you didn't mistype it. -
File "/WEB-INF/struts-bean" not found
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: File "/WEB-INF/struts-bean" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:180)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)Thanks for the reply.This is what the jsp has:
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<html:html locale="true">
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#0080FF" text="#000000">
<html:form action="/Address">
<html:errors/>
<!--<form method="POST" action="http://localhost:8084/sru/registration">-->
<p> </p>
<p>:
<label></label>.....
If it needs struts-bean.tld where should i copy it.I have already done trying to copy it into a folder named tags under
my directory as such: webapps\sru\WEB-INF\tags\struts-bean.tld.
Let me know if this is correct or not.
Edited by: srujan on Apr 1, 2008 7:43 AM -
Hi,
I am in the midst of Installing SOLMAN on RHEL5-ORACLE
Have installed IBM JDK version 1.4.2_10
During the CREATE SECURE STORE PHASE I am getting the following error:
sapinst_dev log file O/P
WARNING[E] 2008-06-09 18:04:43.225
CJSlibModule::writeError_impl()
CJS-30050 Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
The java class is not found: com.sap.engine.offline.OfflineToolStart.
TRACE 2008-06-09 18:04:43.225 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2008-06-09 18:04:43.243 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 2529
TRACE 2008-06-09 18:04:43.281 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 2530
ERROR 2008-06-09 18:04:43.310 [sixxcstepexecute.cpp:951]
FCO-00011 The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .
TRACE 2008-06-09 18:04:43.317 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing service SAP Solution Manager 4.0 Support Release 4 > SAP Systems > Oracle > Central System > Central System. You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS. </p> </body></html>
TRACE 2008-06-09 18:04:43.317 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
SAPINST.LOG file O/P
WARNING 2008-06-09 18:04:43.224
Execution of the command "/opt/IBMJava2-amd64-142/bin/java -classpath /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/launcher.jar -Xmx256m com.sap.engine.offline.OfflineToolStart com.sap.security.core.server.secstorefs.SecStoreFS /tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/lib:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/SOLMAN/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar create -s SMD -f /sapmnt/SMD/global/security/data/SecStore.properties -k /sapmnt/SMD/global/security/data/SecStore.key -enc -p XXXXXX" finished with return code 1. Output:
The java class is not found: com.sap.engine.offline.OfflineToolStart
WARNING[E] 2008-06-09 18:04:43.225
CJS-30050 Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log:
The java class is not found: com.sap.engine.offline.OfflineToolStart.
ERROR 2008-06-09 18:04:43.310
FCO-00011 The step createSecureStore with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_SecureStore|ind|ind|ind|ind|8|0|createSecureStore was executed with status ERROR .
SecurStoreCreate log O/P
The java class is not found: com.sap.engine.offline.OfflineToolStart
Pls suggest how to resolve this issue
Pls help to resolve this issue
Rgds,
AbhijeetHi All,
I Found the Solution.
The SAPinst tool was somehow not able to extracte the
J2EEINSTALL.SAR files from the JAVA Components DVD.
So I manually extracted the the file in the temporary install folder which the SAPinst creates in the /tmp filesystem (on LINUX by deafult) during the installation process.
The following command is used (I used this on Red Hat LINUX 5.2) to extract the J2EEINSTALL.SAR file:-
/sapmnt/SMD/exe/SAPCAR
-xvf /dump/SR4_Java_Components/D51033521/DATA_UNITS/JAVA_J2EE_OSINDEP_J2EE_INST/J2EEINSTALL.SAR
/sapmnt/SMD/exe/SAPCAR -->source directory of the file SAPCAR which is used to extarct CAR / SAR files on UNIX
/dump/SR4_Java_Components/D51033521/DATA_UNITS/JAVA_J2EE_OSINDEP_J2EE_INST/J2EEINSTALL.SAR--> destination dir. where the SAPinst tool will read and execute the file.
Rgds,
Abhijeet K -
Weblogic.utils.StackTraceUtils not found
Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
I have an application that contains some JSPs and Servlets. I'm using
SilkPerformer to simulate multiple users. It was fine if I used only 200
virtual users, but I ran into the following problem when I used 250 (240
too).
It complained some kind of NullPointerException (see below) which never
happened for under 200 users. And then it complained this
weblogic.utils.StackTraceUtils not found. This class belongs to
/weblogic/classes which is in my weblogic.class.path when the server is
started.
I'm guess weblogic server ran into some unexpected exception and the
logger wanted to call this class to report the error. So I need to find
out 2 things:
1. how to reveal the real exception/error.
2. what to do to avoid the exception (since it worked fine for 200
virtual users).
For 1, I have no clue. Hope someone out there can help me.
For 2, I remember seeing "Too many opened files" at some run which may
indicating that, when handling too many users (250) at one time, WL
server has opened one copy of certain file (JSP/html) for each user and
used up system allowed file handles. If this is true, I may be able to
get rid of this problem by increasing the allowed number of file
handles. But I'd like to see a better solution (say, configure the
server certain way to share the files). By the way, this is not
happening on NT. Maybe NT has more allowed file handles and I can only
run as many as 250 users.
Anyway comments are appreciated.
-Wayne
----------------------- extract of server output --------------------
The errorIndices is currently: []
Hints validated.java.lang.NullPointerException
at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
Code)
at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at
weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
at weblogic.logging.LogManager.log(Compiled Code)
at weblogic.logging.LogOutputStream.error(Compiled Code)
at weblogic.t3.srvr.ListenThread.run(Compiled Code)
java.lang.NullPointerException
at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
Code)
at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClass(Compiled Code)
at java.lang.ClassLoader.loadClassInternal(Compiled Code)
at
weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
at weblogic.logging.LogManager.log(Compiled Code)
at weblogic.logging.LogOutputStream.alert(Compiled Code)
at weblogic.t3.srvr.ListenThread.run(Compiled Code)
Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
is n\
o longer listening for connections.
Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
rest\
art it.
Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
system
Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
commencing \
NOW
Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
failed:\
java.lang.ThreadDeath
Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
Server i\
s no longer listening for connections.
Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
probably r\
estart it.
Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
system
java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
at
weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
at weblogic.logging.LogManager.log(Compiled Code)
at weblogic.logging.LogOutputStream.alert(Compiled Code)
at weblogic.t3.srvr.ListenThread.run(Compiled Code)
hints are: [Ljava.lang.String;@1646d1e
hints are: [Ljava.lang.String;@ef3ad1
hints are: [Ljava.lang.String;@a43826
Thanks Sumanth and Cameron. I have 64 descriptors when I do "limit". I'm
not sure if that's my limit coz I could successfully simulate 200 users
at a time. I only have a few JSPs and a couple of HTMLs. Maybe Weblogic
is already sharing the files. Or maybe even for 200 users, at one time
no more than 64 descriptors are used.
I don't have super-user privileges. But I'll ask the admins to increase
the limit for me and see how that affects my results.
Appreciate your help.
-Wayne
Sumanth Yamala wrote:
>
> lsof gives the number of file descriptors open
>
> A common setting for high-load systems is a soft limit of 1024 and a hard
> limit of 4096.
>
> On Solaris, add the following to /etc/system:
>
> set rlim_fd_max=4096
> set rlim_fd_cur=1024
>
> And reboot with -r.
>
> You should not raise it past 1024 without first finding some
> documentation that confirms that it is safe to do so. Any number
> below that is safe.
>
> To add to the above Weblogic documentation has to say this:
>
> We have seen this situation when the user account runs out of file
> descriptors. On Solaris, each user account has a certain limited number of
> file descriptors. You can find out how many file descriptors you have with
> the limit command in csh.
>
> You can increase file descriptors if you have enough privileges with the
> unlimit command in the csh. Otherwise, you'll need to ask your system
> administrator to increase the file descriptors available to your processes.
>
> Another solution is to create a .zip file with all of the WebLogic classes,
> since a .zip file only requires a single file descriptor. If you do this,
> please note that there may be other problems associated with loading files
> from a .zip file, particularly with versions of the JDK before 1.1.3.
> (Previous to version 2.5, WebLogic has not distributed its classes in .zip
> format because of limitations in the JVM
>
> -Sumanth
>
> Wayne Xin wrote:
>
> > Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
> >
> > I have an application that contains some JSPs and Servlets. I'm using
> > SilkPerformer to simulate multiple users. It was fine if I used only 200
> > virtual users, but I ran into the following problem when I used 250 (240
> > too).
> >
> > It complained some kind of NullPointerException (see below) which never
> > happened for under 200 users. And then it complained this
> > weblogic.utils.StackTraceUtils not found. This class belongs to
> > /weblogic/classes which is in my weblogic.class.path when the server is
> > started.
> >
> > I'm guess weblogic server ran into some unexpected exception and the
> > logger wanted to call this class to report the error. So I need to find
> > out 2 things:
> >
> > 1. how to reveal the real exception/error.
> > 2. what to do to avoid the exception (since it worked fine for 200
> > virtual users).
> >
> > For 1, I have no clue. Hope someone out there can help me.
> >
> > For 2, I remember seeing "Too many opened files" at some run which may
> > indicating that, when handling too many users (250) at one time, WL
> > server has opened one copy of certain file (JSP/html) for each user and
> > used up system allowed file handles. If this is true, I may be able to
> > get rid of this problem by increasing the allowed number of file
> > handles. But I'd like to see a better solution (say, configure the
> > server certain way to share the files). By the way, this is not
> > happening on NT. Maybe NT has more allowed file handles and I can only
> > run as many as 250 users.
> >
> > Anyway comments are appreciated.
> >
> > -Wayne
> >
> > ----------------------- extract of server output --------------------
> > ...
> > The errorIndices is currently: []
> > Hints validated.java.lang.NullPointerException
> > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
> > Code)
> > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
> > at
> > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
> > at weblogic.logging.LogManager.log(Compiled Code)
> > at weblogic.logging.LogOutputStream.error(Compiled Code)
> > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
> > java.lang.NullPointerException
> > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
> > Code)
> > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClass(Compiled Code)
> > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
> > at
> > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
> > at weblogic.logging.LogManager.log(Compiled Code)
> > at weblogic.logging.LogOutputStream.alert(Compiled Code)
> > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
> > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
> > is n\
> > o longer listening for connections.
> > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
> > rest\
> > art it.
> > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
> > system
> > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
> > commencing \
> > NOW
> > Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
> > failed:\
> >
> > java.lang.ThreadDeath
> >
> > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
> > Server i\
> > s no longer listening for connections.
> > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
> > probably r\
> > estart it.
> > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
> > system
> > java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
> > at
> > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
> > at weblogic.logging.LogManager.log(Compiled Code)
> > at weblogic.logging.LogOutputStream.alert(Compiled Code)
> > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
> > hints are: [Ljava.lang.String;@1646d1e
> > hints are: [Ljava.lang.String;@ef3ad1
> > hints are: [Ljava.lang.String;@a43826
> > ....
Maybe you are looking for
-
Screen Sharing and Open Directory (10.8)
I'm trying to allow Open Directory users to login over Screen Sharing to my Mountain Lion servers. I have tried the solution on the page linked below and it isn't working. Maybe I'm missing something: https://discussions.apple.com/thread/2329389?star
-
Firefox is taking 20+ minutes to load a page, why?
This morning, when launching Firefox, I was asked to update to the latest version of Firefox. I accepted, and everything appeared to be fine. Then it tried to update my extensions, when I noticed it got "stuck" at about halfway through. I left it for
-
File Explorer in Windows 8.1 does not find and show pdf content in Search?
Have a new computer using Windows 8.1 and I have to search foe file content. I am not able to find my .pdf file content when I use File Explorer
-
Import from csv file into a oracle database
Hi, like i wrote in the subject i want to import some data from a csv file and transform it into a database. Its a simple setup, - FA which reads with a self defined schema from a physical path - Receive activity which creates an instance - transform
-
I'm working with different flash movies for a client. she has several flash movies playing back to back as advertisement for different retailers. Now she wants me to add Rss Feeds for local weather on the flash movies. Now i never done this before an