Problems with: ANT RUN
When I ran ant to test the hello application, I got the following
ant run
Buildfile: build.xml
run:
[echo] Running the hello.HelloClient program....
[java] java.rmi.ServerException: Missing port information
[java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:357)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
[java] at hello.HelloIF_Stub.sayHello(HelloIF_Stub.java:60)
[java] at hello.HelloClient.main(Unknown Source)
BUILD SUCCESSFUL
Total time: 2 seconds
Could any one please tell me what should I do? The server runs well in the "localhost:8080..." I have no clue what I should do...
The problem might be that one of the jar files containing the java.rmi.* files musst be missing or perhapz, the path to these jars in the build.properties must be given wrong. CHk them there might be spelling mistake in build.properties in comman directory as jaxp.holme=${jwsdp.home}/jaxp-1.2.2 where holme must be home,
or some other mistake.
..........or if u have been un/installing too much of javastuffs try cleaning the whole Java from yr system and reinstall them that actually helped me once..................
............or chk yr HelloClient Program if its not what the tutorial provides
........................................Hope it helps........ABHI
Similar Messages
-
We are currently running CS3 on Macs with OS 10.5.8 but need to upgrade the OS in order to prepare e-books. Will we have any problems with CS3 running on the later OS?
Check the Adobe website for compatibility.
Ciao. -
Problem with battery running down more quickly after downloading OS6 to 3GS iPhone
Problem with battery running down more quickly after I downloaded OS6 to 3GS iPhone.
gdgmacguy
I guess I should have asked for the "definitive" fix. I read several "fixes" but it seems no one knows if Apple has a definitive fix. Kind of like going into an Apple store and getting three different answers from three different reps. At least they are not rude and no, I don't have a problem searching the forum.
<Edited by Host> -
Problem with threads running javaw
Hi,
Having a problem with multi thread programming using client server sockets. The program works find when starting the the application in a console using java muti.java , but when using javaw multi.java the program doesnt die and have to kill it in the task manager. The program doesnt display any of my gui error messages either when the server disconnect the client. all works find in a console. any advice on this as I havent been able to understand why this is happening? any comment would be appreciated.
troy.troy,
Try and post a minimum code sample of your app which
does not work.
When using javaw, make sure you redirect the standard
error and standard output streams to file.
Graeme.Hi Graeme,
I dont understand what you mean by redirection to file? some of my code below.
The code works fine under a console, code is supposed to exit when the client (the other server )disconnects. the problem is that but the clientworker side of the code still works. which under console it doesnt.
public class Server{
ServerSocket aServerSocket;
Socket dianosticsSocket;
Socket nPortExpress;
ClientListener aClientListener;
LinkedList queue = new LinkedList();
int port = 0;
int clientPort = 0;
String clientName = null;
boolean serverAlive = true;
* Server constructor generates a server
* Socket and then starts a client threads.
* @param aPort socket port of local machine.
public Server(int aPort, String aClientName, int aClientPort){
port = aPort;
clientName = aClientName;
clientPort = aClientPort;
try{
// create a new thread
aServerSocket = new ServerSocket(port) ;
// connect to the nPortExpress
aClientListener = new ClientListener(InetAddress.getByName(clientName), clientPort, queue,this);
// aClientListener.setDaemon(true);
aClientListener.start();
// start a dianostic port
DiagnosticsServer aDiagnosticsServer = new DiagnosticsServer(port,queue,aClientListener);
// System.out.println("Server is running on port " + port + "...");
// System.out.println("Connect to nPort");
catch(Exception e)
// System.out.println("ERROR: Server port " + port + " not available");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Server port " + port + " not available", JOptionPane.ERROR_MESSAGE);
serverAlive = false;
System.exit(1);
while(serverAlive&&aClientListener.hostSocket.isConnected()){
try{
// connect the client
Socket aClient = aServerSocket.accept();
//System.out.println("open client connection");
//System.out.println("client local: "+ aClient.getLocalAddress().toString());
// System.out.println("client localport: "+ aClient.getLocalPort());
// System.out.println("client : "+ aClient.getInetAddress().toString());
// System.out.println("client port: "+ aClient.getLocalPort());
// make a new client thread
ClientWorker clientThread = new ClientWorker(aClient, queue, aClientListener, false);
// start thread
clientThread.start();
catch(Exception e)
//System.out.println("ERROR: Client connection failure");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client connection failure", JOptionPane.ERROR_MESSAGE);
}// end while
} // end constructor Server
void serverExit(){
JOptionPane.showMessageDialog(null, "Server ","ERROR: nPort Failure", JOptionPane.ERROR_MESSAGE);
System.exit(1);
}// end class Server
*** connect to another server
public class ClientListener extends Thread{
InetAddress hostName;
int hostPort;
Socket hostSocket;
BufferedReader in;
PrintWriter out;
boolean loggedIn;
LinkedList queue; // reference to Server queue
Server serverRef; // reference to main server
* ClientListener connects to the host server.
* @param aHostName is the name of the host eg server name or IP address.
* @param aHostPort is a port number of the host.
* @param aLoginName is the users login name.
public ClientListener(InetAddress aHostName, int aHostPort,LinkedList aQueue,Server aServer) // reference to Server queue)
hostName = aHostName;
hostPort = aHostPort;
queue = aQueue;
serverRef = aServer;
// connect to the server
try{
hostSocket = new Socket(hostName, hostPort);
catch(IOException e){
//System.out.println("ERROR: Connection Host Failed");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort Failed", JOptionPane.ERROR_MESSAGE);
System.exit(0);
} // end constructor ClientListener
** multi client connection server
ClientWorker(Socket aSocket,LinkedList aQueue, ClientListener aClientListener, boolean diagnostics){
queue = aQueue;
addToQueue(this);
client = aSocket;
clientRef = aClientListener;
aDiagnostic = diagnostics;
} // end constructor ClientWorker
* run method is the main loop of the server program
* in change of handle new client connection as well
* as handle all messages and errors.
public void run(){
boolean alive = true;
String aSubString = "";
in = null;
out = null;
loginName = "";
loggedIn = false;
while (alive && client.isConnected()&& clientRef.hostSocket.isConnected()){
try{
in = new BufferedReader(new InputStreamReader(client.getInputStream()));
out = new PrintWriter(new OutputStreamWriter(client.getOutputStream()));
if(aDiagnostic){
out.println("WELCOME to diagnostics");
broadCastDia("Connect : diagnostics "+client.getInetAddress().toString());
out.flush();
else {
out.println("WELCOME to Troy's Server");
broadCastDia("Connect : client "+client.getInetAddress().toString());
out.flush();
String line;
while(((line = in.readLine())!= null)){
StringTokenizer aStringToken = new StringTokenizer(line, " ");
if(!aDiagnostic){
broadCastDia(line);
clientRef.sendMessage(line); // send mesage out to netExpress
out.println(line);
out.flush();
else{
if(line.equals("GETIPS"))
getIPs();
else{
clientRef.sendMessage(line); // send mesage out to netExpress
out.println(line);
out.flush();
} // end while
catch(Exception e){
// System.out.println("ERROR:Client Connection reset");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR:Client Connection reset", JOptionPane.ERROR_MESSAGE);
try{
if(aDiagnostic){
broadCastDia("Disconnect : diagnostics "+client.getInetAddress().toString());
out.flush();
else {
broadCastDia("Disconnect : client "+client.getInetAddress().toString());
out.flush();
// close the buffers and connection;
in.close();
out.close();
client.close();
// System.out.println("out");
// remove from list
removeThreadQueue(this);
alive = false;
catch(Exception e){
// System.out.println("ERROR: Client Connection reset failure");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Client Connection reset failure", JOptionPane.ERROR_MESSAGE);
}// end while
} // end method run
* method run - Generates io stream for communicating with the server and
* starts the client gui. Run also parses the input commands from the server.
public void run(){
boolean alive = true;
try{
// begin to life the gui
// aGuiClient = new ClientGui(hostName.getHostName(), hostPort, loginName, this);
// aGuiClient.show();
in = new BufferedReader(new InputStreamReader(hostSocket.getInputStream()));
out = new PrintWriter(new OutputStreamWriter(hostSocket.getOutputStream()));
while (alive && hostSocket.isConnected()){
String line;
while(((line = in.readLine())!= null)){
System.out.println(line);
broadCast(line);
} // end while
} // end while
catch(Exception e){
// System.out.println("ERRORa Connection to host reset");
JOptionPane.showMessageDialog(null, (e.toString()),"ERROR: Connection to nPort reset", JOptionPane.ERROR_MESSAGE);
try{
hostSocket.close();
}catch(Exception a){
JOptionPane.showMessageDialog(null, (a.toString()),"ERROR: Exception", JOptionPane.ERROR_MESSAGE);
alive = false;
System.exit(1);
} // end method run -
Hello!
I built up a web site and I want to test them using ANT. It works fine with other web page, however it doesn't work with web pages with "session" statement. For example in login.jsp I have the following statement
session.setAttribute("user", request.getParameter("userName"));
And if the user's name and password are correct, the user is directed to home.jsp, where i have the following statement to retrieve the user's name:
String id=session.getAttribute("user").toString();
In order to test the above 2 pages with ANT, I have the following code in builder.xml:
<?xml version='1.0'?>
<project name="proj" default="test" basedir=".">
<target name="test">
<get src="http://path/login.jsp?userName=id&passWord=1111" dest="1.html" />
</target>
</project>
When I run the script, I get the error that the home.jsp cannot be opened (see below)
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 500 for URL: http://path/home.jsp
I am pretty sure the above error is caused by the "session" statement, because if I remove the statement in home.jsp, the page can be correctly opened. But I really need the "session" statement, Can someone tell me how to deal with it?
thanks a million.Usually with a 500 error there's more detail in a server log somewhere. Can you find anything in stderr.log or some such?
-
A few problems with Leopard running on my White iMac...
I have only found 2 problems so far with Leopard running on my iMac. First off, the most annoying one:
Sometimes, especially when switching users, the screen turns to the "gray screen of death." You know, the one with the request to restart your computer in like 4 languages and a huge picture of a power button... anyway, it is getting quite annoying and I wish I could make it stop. It has also happened when I have been dealing with moving large amounts of data, "large pictures, movies, etc.)
And now, the second problem. I was just looking up the memory left on my hard drive when I noticed something I hadn't before. my 160gb hard drive had 50gb left. not too strange there. but when I checked through all the things (apps, users, system, library, developer, etc.) in it (I simply did apple-i and checked the gb each of them took up) and after a quick add-up on my calculator widget, all the things in the hard drive added up to 50gb. so I have 50gb free, 50gb used and a 160gb hard drive. How does that work? Do I need to do something to get that extra 60gb back or is it just gone???STEVE!!! wrote:
Is there any way just to show hidden folders like on a PC?
There's probably a way to coerce Finder.app into showing everything
(all is possible in unix) -- but I don't know the OS-X magic words.
It told me that improper of the "sudo" command could lead to data loss
and i don't want to risk doing anything stupid (like a misspelling) that
could lead to my hard drive being wrecked.
Good advice. IMO, the 'du' (disk usage) command is safe, because it's
'read only' -- but I undestand that you'd be hesitant to trust your data
to advice fom an anonymous voice from "The Internets." I can't/won't
argue with common sense.
You can run the same command without the 'sudo' prefix. It might
miss a few things and/or spit some 'permission denied' messages,
but the results will at least be a lower-bound of disk usage.
...in the beginning was the command line,
Looby -
Hello Gurus,
i have a problem with my product. lets take an example. my semifinished product abc is made up of a, b and c.
i have made them(abc, a, b and c) to use MRP type VB. i made palnning file entry and BOM and then i run the MRP.
I run single item multilevel MRP for semi-finished product abc, it showed me result in MRP running only for abc but not for a, b and c.
can u please tell me where i am making any mistake.
regardsHi Maggi,
If you have used mrp run for single item,single level planning (ie) md03, it will plan only for that particular material & will not plan for the dependent material in the BOM.
If you run with t.code md02, MRP run for single item,multi level, all the dependent requirements will be planned.
Also VB is for reorder point planning. ie if you maint reorder level as 100 for a,b & c materials & if the stock goes below 100, say 50 Nos. for all the three material. Then procurement proposal(Pur req) will be created for 50 nos for all the material(a,b,c).
If you use MRP type PD, there is no question of reorder level, during mrp run system check the stock of the dependent requirements. If there is a shortage procurement proposal are created.
Regards,
Senthilkumar SD -
Problem with Macro Running When Closing a Document
Hi Folks;
I'm trying to develop a Visio macro that runs when I close a document, but I've run into a snag...
The problem is that the code below only works when I press the 'X' in the corner of the document to close it. If I try to close it using
File -> Close, I get the error "Run Time Error -2032464741 (86db0c9b) An exception occurred", and the debugger highlights the first 'Application' line.
I need the code to work regardless of the close operation, and I'm not sure how to make that happen (since I assumed it should've work the same regardless).
Private Function Document_QueryCancelDocumentClose(ByVal doc As IVDocument) As Boolean
Document_QueryCancelDocumentClose = True
If MsgBox("If you made changes, did you UPDATE the Diagram History? (Select Yes if no changes were made)", vbYesNo + vbCritical + vbDefaultButton2, "Warning - DIAGRAM HISTORY UPDATED?") = vbYes Then
Application.ActiveDocument.Pages.ItemU("Diagram").Layers.Item("Warning").CellsC(4) = 1
Document_QueryCancelDocumentClose = False
Else
Document_QueryCancelDocumentClose = True
End If
End Function
Any help would be appreciated.
ZangI'm betting your typical "try this" response is not what anyone wants. But since you've chimed in... my problems with the Visio event model are PLENTY. Print and save events that cannot be cancelled, document close that doesn't fire on application
close, and Application.BeforeDocumentSaveAs that occurs WAY AFTER the document has been saved are just a few. (Did Microsoft even test these events??) The official Microsoft response to ALL of this was, in a word, "repurpose" it. Essentially they
advocate completely rewriting the actual Save and Print portions of the interface and corresponding logic in Visio by intercepting keystrokes and redirecting ribbon extensibility idMso ="FileSave" and idMso ="FileSaveAs" commands to your own methods.
To quote paid support:
"You may repurpose Save command in Visio as suggested in my previous email, however there is a design limitation that does not allow repurposing Print backstage button.
In order to achieve Visio Print repurpose, the workaround is to hide the print back stage altogether and plug with custom backstage ribbon xml."
We now also repurpose idMso="FilePrintQuick", idMso="FilePrintPreview", and idMso="FileClose" customUI commands, but we still had to use the logic above to catch save before closing.
Valid methods that work while Visio is active will fail within Application close. IT IS A BUG IN VISIO. That is what this post is about. -
I couldn't open my apps, when i press on the app it will open but with in a few seconds it will automatically minimizes the app and it not running can u please give the solution to it .
Hi balaviswanath,
Does this issue occur to all apps?
If so, let’s run app troubleshooter for result:
Troubleshoot problems with an app
http://windows.microsoft.com/en-IN/windows-8/what-troubleshoot-problems-app
Alex Zhao
TechNet Community Support -
Problem with DOM4j running on JRockit
Until recently, we were using SUN Java JVM for running our applications and now we run it on JRockit. Ever since we made this change, we are experiencing this strange problem with DOM4j.
There is a certain set of XMLs in our application, which do not have any schema (neither DTD nor XSD). We use DOM4J (v1.4) for on the fly unmarshalling of these XMLs and then use XPath to extract the data. There is method in DOM4j (Element.selectNodes()) which extracts the relevant information from the XML based on the XPath provided. The problem is, this List which this method returns, contains a 'null'. This would result in a NullPointerException later on in the program execution.
Please note that since we did not have this problem in SUN JVM, I presume that there is some kind of incompatibility between JRockit and DOM4j. That is why I am posting this question here.
Thanks in advance.
Cheers,
-NagendraHi Henrik,
Thanks for your reply.
We are using R26.4 version of JRockit.
This problem occurs only on our production servers and the occurance in not consistent as well. Early on in the runtime of the server, everything is ok (including the functionality which would give this problem). But, aprroximately after 2 days of running, the server starts giving this problem. Forcing us to restart the application. Since application uptime is a critical deliverable for us, this problem has become a bottleneck for us.
Haven't tried -Xnoopt JVM option yet.
Thanks.
-Nagendra -
I'm having problems with my new(ish) iMac. This problem is a bit involved so please bear with me.
While adding a torrent to my downloading program azureus, my computer froze. It would not allow me to shut down or do anything. So I unplugged the machine and waited awhile and attempted to restart. To my horror, it would not start up. I then unplugged the power cord in the back and held the power button while plugging the cord back in and then released and pressed the power button again. My computer turned back on, hooray, BUT, now the fan is running very loudly and has not stopped. I restarted, shut down and left it alone, and now I'm very confused. Any suggestions?
thanks
-LisaHi Lisa!
You should go to this link: http://docs.info.apple.com/article.html?artnum=301733 - you've basically reset the SMU on your machine but read the article and follow carefully. You should go ahead and reset the PRAM, which is also covered in the article.
Rick
Message was edited by: JMEH
Next time this happens, just hold the off button for a few extra seconds and your Mac will shut down. -
Any problems with lion running on core 2 duo 2007 MBPro ?
Curious to hear if anyone has had any problems with Lion before I upgrade.
Thanks.OK, so this is a shot in the dark, but maybe it's worth a try.
Since the problem only occurs when running on battery, perhaps changing the Energy Saver settings to match the settings used for when it's plugged in will fix the problem. The default settings for how the computer operates are different for the battery and power adaptor. When you unplug the power, the computer automatically shifts to the alternate settings.
So, try this:
-Open System Preferences->Energy Saver
-In the "Settings for" drop-down menu, select "Battery".
-In the "Optimization" drop-down menu, select "Better Performance".
-Under the Sleep tab, choose "Never" for both computer and display sleep and uncheck the box for "Put the hard disk to sleep when possible".
-Under the Options tab, uncheck the first two boxes.
15" MacBook Pro 2.33 GHz Mac OS X (10.4.8) -
Problems with colors running CS4 and W7.
Hey everyone.
I'm having some MASSIVE problems with colors on my system.
Windows 7 Prof 64bit
Photoshop CS4 64bit
6g Ram
1T hard drive
Nvidia GeForce 9800 GTX+
Dell SE198WFP Monitor
The system itself is a Dell Inspiron 530 that I put into a Black Widow V9 gaming tower.
Here is an example of the issue I'm having:
http://findae.deviantart.com/art/Converge-101214480
http://i38.tinypic.com/bjcymr.jpg
The top image is a (admittedly old and crappy, but it shows the problem) photo that I had previously edited and put in my portfolio. The tinypic below is the result of copying that photo from the portfolio, pasting it into photoshop, and then saving it into a jpg. As you can see, the transitions between colors and the contrast are a complete mess.
Thing is, my hard drive recently quit on me, and I had to install the operating system and such on a new drive. I remember having this problem with the system when I first had it, but it either went away on its own or I fixed it somehow before. Now I can't remember for the life of me how I got rid of the problem, and I certainly don't know what the problem is in the first place. I'm tempted to think it may not be photoshop itself, but the problem seems to be especially bad when I'm working with photos.
Anyone have any idea what the problem might be and how to solve it?
Edit: I also noticed it when viewing http://findae.deviantart.com/gallery/#/d1hni37 in firefox, whereas the other photo appeared to be ok before I copied and pasted it. It has extremely obvious lines of green and orange in the transition from light skin tone to dark skin tone. Annoyingly enough, this doesn't show up in the thumbnail within my gallery at all, only when I click on the thumbnail and see the fullsize image. Extremely frustrating.
Here's another good look at the problem while selecting a color in photoshop: http://i37.tinypic.com/2h6t7gh.jpg All I did was screenshot it a few times, and it deteriorated to that point.Screen glitches like color blocks appearing where they shouldn't could indicate a problem with your video drivers.
Go to the nVidia site and see if they've released any updated drivers; people often report that updated drivers are correcting current problems with Photoshop.
http://www.nvidia.com/object/win7-winvista-64bit-258.96-whql-driver.html
Note the recent (3 weeks ago) release.
-Noel -
Problem with JVM running in Windows XP
Hello guys,
I am having a problem running my JVM on my Windows XP machine as the default JavaScript handler for both IE and Firefox.
Basically, each time I run any webpage with Java Script of some kind, my browser window just closes off completely and I have this error log appear on my desktop:
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6f4da4, pid=2604, tid=2984
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C 0x6d6f4da4
--------------- T H R E A D ---------------
Current thread (0x068f1120): JavaThread "main" [_thread_in_vm, id=2984]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000008
Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000008, EDX=0x00000000
ESP=0x0bdb5e18, EBP=0x0bdb5e48, ESI=0x068f1120, EDI=0x00000000
EIP=0x6d6f4da4, EFLAGS=0x00010246
Top of Stack: (sp=0x0bdb5e18)
0x0bdb5e18: 6d6f75fd 00000000 00000000 068f11e0
0x0bdb5e28: 6d31775b 0000000c 20aadcb8 00000000
0x0bdb5e38: 0bdb5e38 00000000 091d02e4 00000000
0x0bdb5e48: 0bdb5e6c 6d304d43 068f11e0 6d31776c
0x0bdb5e58: 00000000 068f11e0 00000000 00000000
0x0bdb5e68: 068f11e0 0bdb5e94 6d305543 068f11e0
0x0bdb5e78: 0bdb5e9f 6d31776c 6d317760 6d317748
0x0bdb5e88: 067a152c 068f11e0 068f11e0 0bdb5eac
Instructions: (pc=0x6d6f4da4)
0x6d6f4d94: e8 aa 1e ff ff c3 8b 44 24 04 8b 0d 58 42 7e 6d
0x6d6f4da4: 8b 04 01 c3 8b 44 24 04 8b 0d 54 42 7e 6d 8b 04
Stack: [0x0bcc0000,0x0bdc0000), sp=0x0bdb5e18, free space=983k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x6d6f4da4
C 0x6d304d43
C 0x6d305543
C 0x6d3055dc
C 0x6d3018ba
j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+48
j java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+57
j java.lang.System.load(Ljava/lang/String;)V+7
v ~StubRoutines::call_stub
C 0x6d6f45a9
C 0x6d749317
C 0x6d6f447a
C 0x6d6fb4b3
C [jpishare.dll+0x43cf]
C [jpishare.dll+0x1eb2]
C [jpiexp32.dll+0x5a1d]
C [npjpi150_06.dll+0x1aae]
C [ssv.dll+0xa627]
C [ole32.dll+0x2180a]
C [ole32.dll+0x4d6cc]
C [ole32.dll+0x4d3e6]
C [ole32.dll+0x36212]
C [ole32.dll+0x360fe]
C [ole32.dll+0x362e4]
C [ole32.dll+0x36290]
C [ole32.dll+0x4ddf4]
C [ole32.dll+0x4ddab]
C [ole32.dll+0x36337]
C [ole32.dll+0x360fe]
C [ole32.dll+0x36118]
C [ole32.dll+0x360fe]
C [ole32.dll+0x35f92]
C [ole32.dll+0x35e4b]
C [ole32.dll+0x35dcd]
C [urlmon.dll+0x30212]
C [urlmon.dll+0x3e0ef]
C [mshtml.dll+0x279071]
C [mshtml.dll+0x279412]
C [mshtml.dll+0x2728c5]
C [mshtml.dll+0x27ccab]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+48
j java.lang.Runtime.load0(Ljava/lang/Class;Ljava/lang/String;)V+57
j java.lang.System.load(Ljava/lang/String;)V+7
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x091cc528 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3504]
0x091ccd48 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1416]
0x069d3268 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3816]
0x093c2cc8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2136]
0x067fae10 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2980]
0x0932ae08 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2332]
0x091dce08 JavaThread "Finalizer" daemon [_thread_blocked, id=820]
0x091e4e08 JavaThread "Reference Handler" daemon [_thread_blocked, id=2324]
=>0x068f1120 JavaThread "main" [_thread_in_vm, id=2984]
Other Threads:
0x067ea7a8 VMThread [id=488]
0x09130b38 WatcherThread [id=3420]
VM state:synchronizing (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x06a00a20/0x00000d84] Threads_lock - owner thread: 0x067ea7a8
Heap
def new generation total 576K, used 322K [0x20a70000, 0x20b10000, 0x211d0000)
eden space 512K, 50% used [0x20a70000, 0x20ab0af0, 0x20af0000)
from space 64K, 100% used [0x20b00000, 0x20b10000, 0x20b10000)
to space 64K, 0% used [0x20af0000, 0x20af0000, 0x20b00000)
tenured generation total 1408K, used 190K [0x211d0000, 0x21330000, 0x26a70000)
the space 1408K, 13% used [0x211d0000, 0x211ff9b8, 0x211ffa00, 0x21330000)
compacting perm gen total 8192K, used 586K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 7% used [0x26a70000, 0x26b02898, 0x26b02a00, 0x27270000)
ro space 8192K, 63% used [0x2aa70000, 0x2af7b178, 0x2af7b200, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b809fa8, 0x2b80a000, 0x2be70000)
Dynamic libraries:
0x00400000 - 0x00419000 C:\Program Files\Internet Explorer\IEXPLORE.EXE
0x7c900000 - 0x7c9b0000 C:\WINNT\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINNT\system32\kernel32.dll
0x77c10000 - 0x77c68000 C:\WINNT\system32\msvcrt.dll
0x77d40000 - 0x77dd0000 C:\WINNT\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINNT\system32\GDI32.dll
0x77f60000 - 0x77fd6000 C:\WINNT\system32\SHLWAPI.dll
0x77dd0000 - 0x77e6b000 C:\WINNT\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINNT\system32\RPCRT4.dll
0x77760000 - 0x778d0000 C:\WINNT\system32\SHDOCVW.dll
0x77a80000 - 0x77b14000 C:\WINNT\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINNT\system32\MSASN1.dll
0x754d0000 - 0x75550000 C:\WINNT\system32\CRYPTUI.dll
0x76c30000 - 0x76c5e000 C:\WINNT\system32\WINTRUST.dll
0x76c90000 - 0x76cb8000 C:\WINNT\system32\IMAGEHLP.dll
0x77120000 - 0x771ac000 C:\WINNT\system32\OLEAUT32.dll
0x774e0000 - 0x7761d000 C:\WINNT\system32\ole32.dll
0x5b860000 - 0x5b8b4000 C:\WINNT\system32\NETAPI32.dll
0x771b0000 - 0x77259000 C:\WINNT\system32\WININET.dll
0x76f60000 - 0x76f8c000 C:\WINNT\system32\WLDAP32.dll
0x77c00000 - 0x77c08000 C:\WINNT\system32\VERSION.dll
0x76390000 - 0x763ad000 C:\WINNT\system32\IMM32.DLL
0x629c0000 - 0x629c9000 C:\WINNT\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINNT\system32\USP10.dll
0x773d0000 - 0x774d2000 C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x37000000 - 0x37013000 C:\WINNT\system32\EntApi.dll
0x76bf0000 - 0x76bfb000 C:\WINNT\system32\PSAPI.DLL
0x71ab0000 - 0x71ac7000 C:\WINNT\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINNT\system32\WS2HELP.dll
0x7c9c0000 - 0x7d1d5000 C:\WINNT\system32\SHELL32.dll
0x5d090000 - 0x5d127000 C:\WINNT\system32\comctl32.dll
0x74720000 - 0x7476b000 C:\WINNT\system32\MSCTF.dll
0x75f80000 - 0x7607d000 C:\WINNT\system32\BROWSEUI.dll
0x20000000 - 0x20012000 C:\WINNT\system32\browselc.dll
0x77b40000 - 0x77b62000 C:\WINNT\system32\appHelp.dll
0x76fd0000 - 0x7704f000 C:\WINNT\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINNT\system32\COMRes.dll
0x755c0000 - 0x755ee000 C:\WINNT\system32\msctfime.ime
0x77260000 - 0x77300000 C:\WINNT\system32\urlmon.dll
0x5ad70000 - 0x5ada8000 C:\WINNT\system32\UxTheme.dll
0x77fe0000 - 0x77ff1000 C:\WINNT\system32\Secur32.dll
0x77a20000 - 0x77a74000 C:\WINNT\System32\cscui.dll
0x76600000 - 0x7661d000 C:\WINNT\System32\CSCDLL.dll
0x77920000 - 0x77a13000 C:\WINNT\system32\SETUPAPI.dll
0x769c0000 - 0x76a73000 C:\WINNT\system32\USERENV.dll
0x10000000 - 0x1012a000 c:\program files\google\googletoolbar1.dll
0x71ad0000 - 0x71ad9000 C:\WINNT\system32\WSOCK32.dll
0x76b40000 - 0x76b6d000 C:\WINNT\system32\WINMM.dll
0x76380000 - 0x76385000 C:\WINNT\system32\MSIMG32.dll
0x59a60000 - 0x59b01000 C:\WINNT\system32\DBGHELP.DLL
0x76ee0000 - 0x76f1c000 C:\WINNT\system32\RASAPI32.DLL
0x76e90000 - 0x76ea2000 C:\WINNT\system32\rasman.dll
0x76eb0000 - 0x76edf000 C:\WINNT\system32\TAPI32.dll
0x76e80000 - 0x76e8e000 C:\WINNT\system32\rtutils.dll
0x76990000 - 0x769b5000 C:\WINNT\system32\ntshrui.dll
0x76b20000 - 0x76b31000 C:\WINNT\system32\ATL.DLL
0x77c70000 - 0x77c93000 C:\WINNT\system32\msv1_0.dll
0x76d60000 - 0x76d79000 C:\WINNT\system32\iphlpapi.dll
0x722b0000 - 0x722b5000 C:\WINNT\system32\sensapi.dll
0x01770000 - 0x01790000 C:\Program Files\TechSmith\SnagIt 8\SnagItIEAddin.dll
0x01790000 - 0x017a1000 C:\Program Files\TechSmith\SnagIt 8\SnagItIEAddinRes.dll
0x7c340000 - 0x7c396000 C:\Program Files\TechSmith\SnagIt 8\MSVCR71.dll
0x71b20000 - 0x71b32000 C:\WINNT\system32\MPR.dll
0x017e0000 - 0x017ec000 C:\Program Files\TechSmith\SnagIt 8\SnagItBHO.dll
0x01900000 - 0x0190c000 C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
0x01910000 - 0x019e5000 C:\PROGRA~1\SPYBOT~1\SDHelper.dll
0x5edd0000 - 0x5ede7000 C:\WINNT\system32\olepro32.dll
0x6d600000 - 0x6d62d000 C:\Program Files\Java\jre1.5.0_06\bin\ssv.dll
0x7dc30000 - 0x7df20000 C:\WINNT\system32\mshtml.dll
0x746c0000 - 0x746e7000 C:\WINNT\system32\msls31.dll
0x75e90000 - 0x75f40000 C:\WINNT\system32\SXS.DLL
0x01550000 - 0x015d8000 C:\WINNT\system32\shdoclc.dll
0x01f00000 - 0x021c5000 C:\WINNT\system32\xpsp2res.dll
0x75cf0000 - 0x75d81000 C:\WINNT\system32\MLANG.dll
0x025d0000 - 0x02896000 C:\WINNT\system32\msi.dll
0x746f0000 - 0x7471a000 C:\WINNT\system32\msimtf.dll
0x325c0000 - 0x325d2000 C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
0x71a50000 - 0x71a8f000 C:\WINNT\system32\mswsock.dll
0x662b0000 - 0x66308000 C:\WINNT\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINNT\System32\wshtcpip.dll
0x76f20000 - 0x76f47000 C:\WINNT\system32\DNSAPI.dll
0x76fc0000 - 0x76fc6000 C:\WINNT\system32\rasadhlp.dll
0x767f0000 - 0x76817000 C:\WINNT\system32\schannel.dll
0x0ffd0000 - 0x0fff8000 C:\WINNT\system32\rsaenh.dll
0x68100000 - 0x68124000 C:\WINNT\system32\dssenh.dll
0x18030000 - 0x1803b000 C:\Program Files\Network Associates\VirusScan\scriptproxy.dll
0x12400000 - 0x12465000 C:\Program Files\Network Associates\VirusScan\mytilus.dll
0x12580000 - 0x12585000 C:\Program Files\Network Associates\VirusScan\Res09\McShield.dll
0x12000000 - 0x121e0000 C:\Program Files\Common Files\Network Associates\Engine\mcscan32.dll
0x75c50000 - 0x75cbe000 C:\WINNT\system32\JScript.dll
0x73300000 - 0x73367000 C:\WINNT\system32\VBScript.dll
0x73dd0000 - 0x73ece000 C:\WINNT\system32\MFC42.DLL
0x76200000 - 0x76271000 C:\WINNT\system32\mshtmled.dll
0x76fb0000 - 0x76fb8000 C:\WINNT\System32\winrnr.dll
0x74980000 - 0x74ab0000 C:\WINNT\system32\msxml3.dll
0x4d4f0000 - 0x4d548000 C:\WINNT\system32\WINHTTP.dll
0x30000000 - 0x30224000 C:\WINNT\system32\Macromed\Flash\Flash8b.ocx
0x763b0000 - 0x763f9000 C:\WINNT\system32\comdlg32.dll
0x72d20000 - 0x72d29000 C:\WINNT\system32\wdmaud.drv
0x72d10000 - 0x72d18000 C:\WINNT\system32\msacm32.drv
0x77be0000 - 0x77bf5000 C:\WINNT\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 C:\WINNT\system32\midimap.dll
0x69000000 - 0x6900e000 C:\WINNT\system32\Macromed\Common\SwSupport.dll
0x66880000 - 0x6688c000 C:\WINNT\system32\ImgUtil.dll
0x6d430000 - 0x6d43a000 C:\WINNT\system32\ddrawex.dll
0x73760000 - 0x737a9000 C:\WINNT\system32\DDRAW.dll
0x73bc0000 - 0x73bc6000 C:\WINNT\system32\DCIMAN32.dll
0x71d40000 - 0x71d5c000 C:\WINNT\system32\actxprxy.dll
0x6cc60000 - 0x6cc6b000 C:\WINNT\system32\dispex.dll
0x6bdd0000 - 0x6be06000 C:\WINNT\system32\dxtrans.dll
0x5e310000 - 0x5e31c000 C:\WINNT\system32\pngfilt.dll
0x6be10000 - 0x6be6a000 C:\WINNT\system32\dxtmsft.dll
0x75f60000 - 0x75f67000 C:\WINNT\System32\drprov.dll
0x71c10000 - 0x71c1e000 C:\WINNT\System32\ntlanman.dll
0x71cd0000 - 0x71ce7000 C:\WINNT\System32\NETUI0.dll
0x71c90000 - 0x71cd0000 C:\WINNT\System32\NETUI1.dll
0x71c80000 - 0x71c87000 C:\WINNT\System32\NETRAP.dll
0x71bf0000 - 0x71c03000 C:\WINNT\System32\SAMLIB.dll
0x75f70000 - 0x75f79000 C:\WINNT\System32\davclnt.dll
0x08c00000 - 0x08c21000 C:\WINNT\system32\pelscrll.dll
0x00f40000 - 0x00f4d000 C:\WINNT\system32\PELCOMM.dll
0x09040000 - 0x09055000 C:\WINNT\system32\PELHOOKS.dll
0x76980000 - 0x76988000 C:\WINNT\system32\LINKINFO.dll
0x506a0000 - 0x50713000 C:\WINNT\system32\wuapi.dll
0x76c60000 - 0x76c8a000 C:\WINNT\system32\sfc_os.dll
0x6d590000 - 0x6d5a2000 C:\Program Files\Java\jre1.5.0_06\bin\npjpi150_06.dll
0x6d400000 - 0x6d417000 C:\Program Files\Java\jre1.5.0_06\bin\jpiexp32.dll
0x6d450000 - 0x6d468000 C:\Program Files\Java\jre1.5.0_06\bin\jpishare.dll
VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~2.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_06 -Djavaplugin.nodotversion=150_06 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~2.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~2.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~2.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_06 -Djavaplugin.nodotversion=150_06 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~2.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
java_command: <unknown>
Launcher Type: generic
Environment Variables:
PATH=C:\PROGRA~1\Java\JRE15~2.0_0\bin;C:\Program Files\Internet Explorer;;C:\sapdb\programs\bin;C:\sapdb\programs\pgm;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Utility.Adp;c:\;C:\Program Files\Common Files\Lenovo;C:\Program Files\Lenovo\Client Security Solution;C:\Program Files\UltraEdit-32;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;.
USERNAME=zhua
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
Memory: 4k page, physical 514476k(45852k free), swap 1258600k(587000k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0The process ID changes all the time obviously but the error remains the same.
Anyone has any suggestions?
Thanks a lot!
Regards,
Anyi ZhuFisrt of all, thanks for your reply Sandra.
I wrote the following commads in cmd.exe
--------> Compiling <--------
$:> g++ -c examp_1.cpp -I "C:\Program Files\Oracle\Berkeley DB 4.5.20\include"
and all did corectly i get my examp_1.o object file.
-------> Linking <--------
$:> g++ -o exampl_1 examp_1.o -L "C:\Program Files\Oracle\Berkeley DB 4.5.20\lib" -I "C:\Program Files\Oracle\Berkeley DB 4.5.20\db-4.5.20"
but i still get the same error.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
As i understand without know enough about linking it's impossible for g++ (MINGW) to understand in linking step the .lib file which is Berkley DB's library for C/C++ API. The only that g++ tackles is .so or .a libraries and no .lib.
If you don't aggree with this I want to know your opinion.
As a result the only way to link correct an DB application with g++ is to Build the Berkley DB again with g++ something that is not so easy for me.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I Builded DB in Fedora 6 Linux Distribution. I did the make and the .libs directory inside the build_unix directory was created.
But I have similar problem to build my DB application.
I do the following 2 steps:
1. Compiling
g++ -c example_1.cpp
and I get the example.o object file. I don't understand why g++ didn't complain to include the .h files that demands Berkley DB.
2. Linking
g++ -o example example_1.o -L my_path/build_unix/.libs
And I get the known messages the same i get with MinGW's g++.
What does it happen in Linux environment? what arguments i don't give?
And one last question how s.o could find the default path that a linker automaticaly include its libraries? Is this standar for all GNU linux distibution.
I am writting this cause in Fedora there is in old DB distribution and i found it in /etc/libs (db-3XX.so) so I don't know what happens.
Thanks for your help and for your support I really appreciate it. -
Problem with Ant Script while deploying a BPEL Process
Hi all,
Im making use of Ant script to Deploy a BPEL process ...the bpel process simply invokes the credit rating service and returns the credit rating..credit rating service and the whole BPEL
process are deployed in the default domain...now i made a new domain and making using of Ant scripts to deploy it to this Domain in the same local server ...i followed the steps
from this blog http://blogs.oracle.com/rammenon/2007/07/deploying_bpel_process_to_mult.html now my problem is even though i mention a different Domain Name in
ant- orabpel_dev.properties its always getting deployed to Default domain........can anyone Plzzz help me.
Edited by: 0racler on Aug 15, 2009 12:09 PMin build.properties of the project -
uncomment (remove the #) and change to the new domain
# Change below if deploying in domain other than "default"
#domain = default
when you run deployProcess target - you should see which domain is used - based on the above variable.
cheers
Maybe you are looking for
-
Revision: 1648 Author: [email protected] Date: 2008-05-09 14:24:44 -0700 (Fri, 09 May 2008) Log Message: This checkin makes public our modifications to Velocity 1.4 which make the parse tree serializable. Velocity has a slow parser and template looku
-
When i plug in headphones, the sound still comes through the computer.
I have them plugged into the right slot but it comes through both the headphones and the laptop. I updated the drivers and ran a systems check with the HP Support Assistant but it couldnt find anything. Is it just a setting problem or is it something
-
How to find which all instances are not listed in groups?
Hi We have 68 servers, 150 instances are there. I need to write a query to fetch from OEM repository, all the instances group by GROUP NAME. If any one knows how to get this information, which views/tables of sysman we need to touch please let me kno
-
Javamapping and CO_TXT_OUTBINDING_NOT_FOUND
Hi Guys, I`ve been doing javamapping and I`m facing some troubles: - Test of this javamapping is all right. No errors! - sxmb_moni = ERROR = CO_TXT_OUTBINDING_NOT_FOUND (Technical Routing) (no outbound binding found. No standard agreement found) I ha
-
Portal Runtime Error due to use of string buffer
Hi All, Whenever I run a portal component in which i have used srting buffer i am getting portal runtime error like java.lang.StringBuffer.append(Ljava/lang/String;)Ljava/lang/AbstractStringBuilder;. but same code run fine from my colleague's system