Urgent Help Please Please
Hi
I am in urgent need of help in relation to J2ME.I need this for my masters project.
I have a web page which address is http://localhost/Barry/Query1_1.HTML
I want to connect to this page which sits on my Personal Web Server for windows using j2ME. How do i do this. Please reply to this or email me at [email protected]
hi,
what do you neam by 'connect to this page'?
When I want to open a connection and get the stream from a siteweb for example, here is what I do:
import java.net.*;
import java.io.*;
URL url = new URL("http://localhost/Barry/Query1_1.HTML");
URLConnection dataConnection = url.openConnection();
InputStreamReader anInputStreamReader = new InputStreamReader(dataConnection.getInputStream());
BufferedReader aBReader = new BufferedReader(anInputStreamReader);
String inputLine;
while ((inputLine = aBReader.readLine()) != null) {
out.println(inputLine);
aBReader.close();
This will write the content of your stream into your 'out', which in this case is a PrintWriter.
Hope this help ;)
bye
Similar Messages
-
TextFields / labels in Applet...Urgent help needed please!!
I have been trying for days to add labels and textFields to my applet and can only manage to display one.
My assignment instructions suggest I use makeTextField method and call the setEditable method from the makeTextField method to avoid repetition of code.
The following is my code...I must have this done in the next couple of days so if someone could please please give me some assistance it would be really appreciated....also, thoughts on my layout would be great as well...i cant seem to set up my buttons in the correct order.
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
public class Registry4b extends Applet implements ActionListener {
public void init() {
backgroundColor = new Color(200,255,255);
this.setLayout(new FlowLayout(FlowLayout.CENTER,4,1));
makeButtons();
row1 = makePanel(new FlowLayout(FlowLayout.LEFT,4,2),backgroundColor);
row1.add(clearB);
row1.add(studFindB);
row1.add(studForB);
row1.add(courB);
row2 = makePanel(new FlowLayout(FlowLayout.LEFT,4,2),backgroundColor);
row2.add(studBackB);
row2.add(courFindB);
row2.add(courForB);
row2.add(studB);
row3 = makePanel(new FlowLayout(FlowLayout.LEFT,4,2),backgroundColor);
row3.add(courBackB);
add(row1);
add(row2);
add(row3);
Panel p = new Panel(new BorderLayout());
Label studID = new Label("STUDENT ID");
TextField entry = new TextField(" ");
p.add(studID,BorderLayout.WEST);
p.add(entry,BorderLayout.CENTER);
Label firstTF = new Label("FIRST NAME");
makePanel(new BorderLayout(2,2),backgroundColor);
add("West",courBackB);
add("East",studB);
makePanel(new BorderLayout(2,2),backgroundColor);
add("North",p);
add("South",courForB);
makePanel(new BorderLayout(2,2),backgroundColor);
add("North",courFindB);
add("South",studBackB);
makePanel(new BorderLayout(2,2),backgroundColor);
add("West",p);
add("East",studForB);
setBackground(backgroundColor);
clearB.addActionListener(this);
courBackB.addActionListener(this);
studB.addActionListener(this);
courForB.addActionListener(this);
courFindB.addActionListener(this);
studBackB.addActionListener(this);
courB.addActionListener(this);
studForB.addActionListener(this);
studFindB.addActionListener(this);
private Label makeLabel(String label) {
Label label1 = new Label(label,Label.RIGHT);
label1.setFont(new Font("Courier",Font.BOLD,10));
return label1;
public void start() {
appletWidth = 8*4+row1.getSize().width;
appletHeight = 8*(2+courBackB.getSize().height);
public void paint(Graphics g) {
setSize(appletWidth,appletHeight);
validate();
public void actionPerformed(ActionEvent e) {
String s = (String)e.getActionCommand();
private Button makeButton(String label, Color color, Font font) {
Button b = new Button(label);
b.setBackground(color);
b.setFont(font);
return b;
private Panel makePanel(LayoutManager lm, Color c) {
Panel p = new Panel();
p.setLayout(lm);
p.setBackground(c);
return p;
private void makeButtons() {
Font f = new Font("Courier", Font.BOLD, 10);
Color grey = new Color(255,100,100);
clearB = makeButton("CLEAR",grey,f);
studB = makeButton(" STUDENTS ",grey,f);
studForB = makeButton("->",grey,f);
studFindB = makeButton("FIND",grey,f);
courFindB = makeButton("FIND",grey,f);
studBackB = makeButton("<-",grey,f);
courB = makeButton(" COURSES ",grey,f);
courBackB = makeButton("<-",grey,f);
courForB = makeButton("->",grey,f);
TextField addressTF = new TextField("ADDRESS", 10);
static final String initialString = " ";
String Filler = " ";
Panel row1, row2, row3, p1;
int appletWidth, appletHeight;
Button clearB, studForB, studFindB, courFindB,
studBackB,courB, courBackB, studB, courForB;
Color backgroundColor;
the buttons currently dont do anything. this is stage 1 of 3 for my 3 part assignment. for now i am just supposed to get the format right and show sample text in the textfields.
the format is supposed to look something like the following (cant copy existing as it is protected)
<- STUDENTS -> CLEAR <- COURSES ->
student id FIND course id FIND
last name_________first name______course name_____
address________________________________________
city______province___________p.code______________
phone__________e-mail_______coordinator___________
#of courses completed_____ #of students passed______
student's average grade___ students grade ave grade___
messages______________________________________
the ones in caps are buttons and the rest are labels with text fields beside most of the labels.
i apologize for the extremely long question but i hope this is what you were looking for to give me some help...anything would be greatly appreciated!!
thanks in advance for anything someone can do for mehi,
may this helps to solve your problem
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
public class Registry4b extends Applet implements ActionListener {
TextField sid;
TextField cid;
public void init() {
backgroundColor = new Color(200,255,255);
setLayout(new GridLayout(2,1)); // 2 rows, one column, first row for search, the second for output
Panel up=new Panel(new GridLayout(3,1)); // search panel
Panel down=new Panel(new GridLayout(1,1)); //output panel
down.add(new Label("Just for the output"));
Panel p1=makePanel(new GridLayout(1,7),backgroundColor);
makeButtons();
p1.add(studBackB);
p1.add(studB);
p1.add(studForB);
p1.add(clearB);
p1.add(courBackB);
p1.add(courB);
p1.add(courForB);
up.add(p1);
Panel p2=makePanel(new GridLayout(1,3),backgroundColor);
p2.add(makeLabel("Student ID"));
sid=new TextField("");
p2.add(sid);
p2.add(studFindB);
up.add(p2);
Panel p3=makePanel(new GridLayout(1,3),backgroundColor);
cid=new TextField("");
p3.add(makeLabel("Course ID"));
p3.add(cid);
p3.add(courFindB);
up.add(p3);
add(up);
add(down);
private Label makeLabel(String label) {
Label label1 = new Label(label,Label.RIGHT);
label1.setFont(new Font("Courier",Font.BOLD,10));
return label1;
public void start() {
//appletWidth = 8*4+120;//row1.getSize().width;
//appletHeight = 8*(2+courBackB.getSize().height);
appletWidth=200;
appletHeight=90;
public void paint(Graphics g) {
setSize(appletWidth,appletHeight);
validate();
public void actionPerformed(ActionEvent e) {
String s = (String)e.getActionCommand();
private Button makeButton(String label, Color color, Font font) {
Button b = new Button(label);
b.setBackground(color);
b.setFont(font);
return b;
private Panel makePanel(LayoutManager lm, Color c) {
Panel p = new Panel();
p.setLayout(lm);
p.setBackground(c);
return p;
private void makeButtons() {
Font f = new Font("Courier", Font.BOLD, 10);
Color grey = new Color(255,100,100);
clearB = makeButton("CLEAR",grey,f);
studB = makeButton(" STUDENTS ",grey,f);
studForB = makeButton("->",grey,f);
studFindB = makeButton("FIND",grey,f);
courFindB = makeButton("FIND",grey,f);
studBackB = makeButton("<-",grey,f);
courB = makeButton(" COURSES ",grey,f);
courBackB = makeButton("<-",grey,f);
courForB = makeButton("->",grey,f);
TextField addressTF = new TextField("ADDRESS", 10);
static final String initialString = " ";
String Filler = " ";
Panel row1, row2, row3, p1;
int appletWidth, appletHeight;
Button clearB, studForB, studFindB, courFindB, studBackB,courB, courBackB, studB, courForB;
Color backgroundColor;
}interesting for you is only the init()
regards -
ITunes corrupt file message - urgent help needed please
I have an iPod video 30GB, i downloded the latest iTunes & Quicktime version, and updated my iPod also to the latest update. When i connect my iPod and start downloading music from the library in iTunes, the iPod keeps on disconnecting and restarting by itself, and i get a message that the file iTunes.exe is corrupt. I tried Apple support and did all what they said by downloading the latest updates and versions, and also did the Chkdsk utility on Windows, but still it did not work, the iPod keep on restarting and i cannot download anything on it, i had it now for a week and did not use it at all because of this problem, can somebody with a technical background help me please, i use Windows XP.
I have an iPod video 30GB, i downloded the latest iTunes & Quicktime version, and updated my iPod also to the latest update. When i connect my iPod and start downloading music from the library in iTunes, the iPod keeps on disconnecting and restarting by itself, and i get a message that the file iTunes.exe is corrupt. I tried Apple support and did all what they said by downloading the latest updates and versions, and also did the Chkdsk utility on Windows, but still it did not work, the iPod keep on restarting and i cannot download anything on it, i had it now for a week and did not use it at all because of this problem, can somebody with a technical background help me please, i use Windows XP.
-
really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?
really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?
-
Hello,
I have the following code
public class StudentRecords {
private Hashtable recordHolder; //Holds marks for collection of students
//Maps students to their marks
private int noAssignments; //Number of marks associated with each student
public StudentRecords(int noAssignments){
//Argument is the number of assignments for the course
recordHolder = new Hashtable();
public Enumeration getStudentNames(){
//Returns with an enumeration of student names who do the course
return recordHolder.elements();
public int getMark(String studentName, int assignmentNo){
//Returns with the mark for the student studentName on assignment assignmentNo
Hashtable studentDetails = (Hashtable)recordHolder.get(studentName);
String assignmentNoStr = studentDetails.get(String.valueOf(assignmentNo)).toString();
return Integer.parseInt(assignmentNoStr);
public int getNoOfAssignments()
//Returns with the number of assignments associated with the course
return 10;
public int getAverage(String studentName){
//Returns average of marks associated with studentName
Hashtable studentDetails = (Hashtable)recordHolder.get(studentName);
System.out.println("studentDetails " +studentDetails);
int total = 0;
int countAssignments = 0;
Enumeration enum = studentDetails.elements();
while(enum.hasMoreElements())
countAssignments++;
String mark = enum.nextElement().toString();
int mark2 = Integer.valueOf(mark).intValue();
total = total+mark2;
return total/countAssignments;
public void createStudentRecord(String studentName){
//Create a student record which associates a student with the marks for his/her assignments
if(!recordHolder.contains(studentName))
//System.out.println("Creating record for " +studentName);
recordHolder.put(studentName, new Hashtable());
public void addMark(String studentName, int assignmentNo, int mark){
//Add the mark given by mark for assignmentNo to the students record associated with studentName
Hashtable assignments = (Hashtable)recordHolder.get(studentName);
String assignment = String.valueOf(assignmentNo);
String markStr = String.valueOf(mark);
// new record
assignments.put(assignment, markStr);
public String toString()
return recordHolder.toString();
}Now i have a SAX parser class that is suppose to populate the StudentRecords object. Once this is done I need to output the details into a HTML file using a PrintWriter ( this I can do) but how the hell do I populate my object with this SAX parser.
Here is my SAX class
public class MarksProcessor extends HandlerBase{
public static void main(String[] args){
//Main method
try
MarksProcessor mp = new MarksProcessor();
Class loadedClass = Class.forName("com.ibm.xml.parser.SAXDriver");
Parser xParser = (Parser)loadedClass.newInstance();
xParser.setDocumentHandler(mp);
xParser.setErrorHandler(mp);
xParser.parse("Classmarks.txt");
catch(Exception e)
e.printStackTrace();
public MarksProcessor()
public void error(SAXParseException se){
//Executed when a serious error occurs in processing the XML source
System.out.println("Error: Problem with XML "+se.getMessage());
public void warning(SAXParseException se){
//Executed when a minor problem occurs when processing the XML source
System.out.println("Warning: Problem with XML "+se.getMessage());
public void startDocument() throws SAXException{
//Executed when the XML document is first executed
System.out.println("Document started");
public void startElement(String elementName, AttributeList al) throws SAXException
System.out.println("End ELEMENT = "+ elementName);
public void endElement(String elementName) throws SAXException{
//Executed when the end of an element is encountered
System.out.println("End ELEMENT = "+ elementName);
public void endDocument() throws SAXException{
//Executed when processing is finished
System.out.println("Document finished " +records.toString());
public void characters(char[] chars, int start, int length)throws SAXException
System.out.println(new String(chars, start, length));
}Here is the DTD
<STUDENTLIST>
<STUDENTMARK>
<STUDENTNAME>Dobbs</STUDENTNAME>
<ASSIGNMENTNO>1</ASSIGNMENTNO>
<MARK>12</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Wilkinson</STUDENTNAME>
<ASSIGNMENTNO>1</ASSIGNMENTNO>
<MARK>28</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Wilkinson</STUDENTNAME>
<ASSIGNMENTNO>2</ASSIGNMENTNO>
<MARK>44</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Roberts</STUDENTNAME>
<ASSIGNMENTNO>1</ASSIGNMENTNO>
<MARK>77</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Roberts</STUDENTNAME>
<ASSIGNMENTNO>2</ASSIGNMENTNO>
<MARK>80</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Roberts</STUDENTNAME>
<ASSIGNMENTNO>3</ASSIGNMENTNO>
<MARK>50</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Wilkinson</STUDENTNAME>
<ASSIGNMENTNO>3</ASSIGNMENTNO>
<MARK>60</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Thomas</STUDENTNAME>
<ASSIGNMENTNO>1</ASSIGNMENTNO>
<MARK>45</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Thomas</STUDENTNAME>
<ASSIGNMENTNO>3</ASSIGNMENTNO>
<MARK>90</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Dobbs</STUDENTNAME>
<ASSIGNMENTNO>2</ASSIGNMENTNO>
<MARK>12</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Thomas</STUDENTNAME>
<ASSIGNMENTNO>2</ASSIGNMENTNO>
<MARK>45
</MARK>
</STUDENTMARK>
<STUDENTMARK>
<STUDENTNAME>Dobbs</STUDENTNAME>
<ASSIGNMENTNO>3</ASSIGNMENTNO>
<MARK>12</MARK>
</STUDENTMARK>
</STUDENTLIST>
The other problem is that I have to know how many assignments there are before I create any StudentREcords object.
Please help. I am desperate and this paper has to be finished in the next day or two.
Thanks alot.You have to keep track of what the parser reads as it goes through the document. Most of the work will be done in the endElement() method, as you don't have all the information for an element until that's called. Here's a rough draft:public String currentElement;
public StringBuffer currentElementValue;
public String currentStudentName;
public String currentAssignmentNo;
public void startElement(String elementName, AttributeList al) throws SAXException
currentElement = elementName;
currentElementValue = new StringBuffer();
public void endElement(String elementName) throws SAXException
if (currentElement.equals("STUDENTNAME")
currentStudentName = currentElementValue.toString();
createStudentRecord(currentStudentName);
if (currentElement.equals("ASSIGNMENTNO")
currentAssignmentNo = currentElementValue.toString();
if (currentElement.equals("MARK")
addMark(currentStudentName, Integer.parseInt(currentAssignmentNo), Integer.parseInt(currentElementValue.toString());
public void characters(char[] chars, int start, int length)throws SAXException
currentElementValue.append(chars, start, length);
}PC² -
IReader installed but wont open Urgent help needed please!
I have installed Acrobat Reader X.
When i try to open files I get a problem saying Microsoft and Adobe have encountered a problem and need to close.
I get an option to Debug, Send error report or Dont send.
The information which comes up when I look for more information is the following::
error signature
Appname. Acrord32.exe. Appver 10.0.1.434 Modname acrord32.dll
Modver 10.0.1.434 offset 001869666
It was previously working then the next time I came to use it I got this.
Desparately need help1. camera loading - have you tried updating or reinstalling your firmware?
2. keyboard - define strange
3. slow - how much is phone memory and what apps are running in background (see taskmanager, hold menu key until it shows)? turn off theme animations. it helps.
4. handwriting - have you set the handwriting recognition to recognize your particular penmanship? Go to menu>settings>phone>touch input. Set writing speed to very fast, calibrate your screen and take handwriting training so the phone will recognize your handwriting.
5. qwerty - what things? how so? have you set it to qwerty?
6. cannot scroll in file manager - its not a problem. Thats normal for the OS. Use Nokia Photobrowser or the Gallery for viewing pictures. File manager is for managing files, not viewing them.
7. Motion sensors - read #3
8. Phone feels hot - how hot? Batteries heat up when charged. Its normal. However it depends on how hot exactly.
9. Depends maybe on how long the video is. My 5800 feels hot when watching an entire movie. Also this would be reflected on #3 as well, as the phone may be working overtime.
10. Music when unplug headset - Its normal for almost all Nokia phones (heck even some other brands this is normal), try to use an alternative player if you like
11. Back cover - Its the design
12. Yotube - use youtube app
13. Use Nokia Photo Browser download from ovi store. It shows pics only and looks real cool. Anyway, you can put all your videos in the gallery into a virtual folder so that it is separate. Its the way the gallery is designed, to show both pics and video. As you can see, it is written Images and Videos, so they're supposed to be together in there.
14. Adobe still hasnt caughtup its mobile solutions for its PC solutions. Its their fault not Nokia's or anyone else's.
15. Depends on extension. Built in office reader only reads .doc, not .docx.
If you find my post helpful please click the green star on the left under the avatar. Thanks. -
hi im in desperate need of help asap- i have win xp pro
recently had to do a system recovery of my hp system and rreinstall
everything- updated everything including flash 10 before i did this
i was able to goto a site with flash video cams right click it to
get a settings menu click that to get adobe privacy settings and
select a cam from the drop down menu but after reinstall I cant
right click on any flash cams at all, i updated flash player, my
creative cam allows recording as does my computer both tested and
im in desperate need of help
Please anyone???Try disabling the computer's antivirus and firewall.
- Next try the manual install method of:
iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch
Place the iPod in recovery mode (or DFU mode) after the firmware download is complete and then restore using the instructions in the article. Sometimes recovery mode timeouts and returns to disabled before the firmware download is complete.
- Then try on another computer -
NEED URGENT HELP! PLEASE I AM DESPERATE!
First I would like to apologise to the moderators and admins for repeating my request but I placed the first post in the wrong category and I posted the same thing in the recovery category only to have an admin lock it! O_O I really wanted to have an open discussion on the recovery category so I was a bit let down. But I hope I can repeat my request here once so that I may receive help.
I won't repeat the article but its here [http://forums.computers.toshiba-europe.com/forums/message.jspa?messageID=152942#152942]
I have serious problems with my laptop and it's in such bad shape I doubt a genius can fix it... but I would like someone to help me.... or give me some answers... I trust that Toshiba have been making great products and I hope it is reflected in the support community... so please help....
I am a uni student... and without my laptop....there's so much inconvienience.Hello
Sorry buddy but I don't understand you at all. Your thread about recovery issue is still open and can be discussed and it is absolutely in the right category. This can happen on every notebook model and it is not Satellite L specific issue.
You can post it 10 more times but I don't understand how it should help you.
I see there one problem.
Anyway, I will contact friend of mine today and I hope he can help about this.
Please be patient. I will try to offer an explanation, but not on this thread. -
Urgent help needed please starting SAP on AIX
Hi All,
Can someone please help my to understand why I am having more than 5000 processes started when I try so start sap on an AIX server, as I have no clue why how and why they are startedu2026
Here are some of the processesu2026
qasadm 14512306 14389408 0 19:00:20 - 0:00 /usr/bin/csh /usr/sap/QAS/SYS/exe/run/ls -d /usr/sap/QAS/DVEBMGS00
qasadm 14516414 14512306 0 19:00:20 - 0:00 /usr/bin/csh /usr/sap/QAS/SYS/exe/run/ls -d /usr/sap/QAS/DVEBMGS00
qasadm 14520534 14528718 0 19:00:20 - 0:00 /usr/bin/csh /usr/sap/QAS/SYS/exe/run/ls -d /usr/sap/QAS/DVEBMGS00
qasadm 14524620 14463214 0 19:00:20 - 0:00 /usr/bin/csh /usr/sap/QAS/SYS/exe/run/ls -d /usr/sap/QAS/DVEBMGS00
qasadm 14528718 14524620 0 19:00:20 - 0:00 /usr/bin/csh /usr/sap/QAS/SYS/exe/run/ls -d /usr/sap/QAS/DVEBMGS00
qasadm 14532820 14520534 0 19:00:20 - 0:00 /usr/bin/csh /usr/sap/QAS/SYS/exe/run/ls -d /usr/sap/QAS/DVEBMGS00
qasadm 14536918 14532820 0 19:00:20 - 0:00 /usr/bin/csh /usr/sap/QAS/SYS/exe/run/ls -d /usr/sap/QAS/DVEBMGS0
Thanks,
IqbalHi Iqbal,
Please consult with AIX (OS) person is there any exe running at the time of SAP start otherwise this is not happining with SAP.
Regards,
Anil -
Urgent help needed please: Updating Kernel
Hi gurus,
I am new to BI and needs to upgrade the Kernel to revision 133 for loading basis patch 14. I downloaded the kernel and copied to the F:\usr\sap\BID\SYS\exe\uc\NTI386.
After this I was unable to restart the services.
Can someone please guide thru this process.
Thanks and regards,
IqbalHi All,
I tried as was recommended but am still faced with an issue.
here is the dev_disp log.
trc file: "dev_disp", trc level: 1, release: "700"
sysno 00
sid BIQ
systemid 562 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 133
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 5908
Mon Mar 24 08:37:12 2008
kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (00 5908) [dpxxdisp.c 1239]
shared lib "dw_xml.dll" version 133 successfully loaded
shared lib "dw_xtc.dll" version 133 successfully loaded
shared lib "dw_stl.dll" version 133 successfully loaded
shared lib "dw_gui.dll" version 133 successfully loaded
shared lib "dw_mdm.dll" version 133 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3900
Mon Mar 24 08:37:17 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5371]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
ERROR => ShmCreate: Key=37 Inv.Size: req.=67072, alloc.=0 [shmnt.c 615]
ERROR => CrtOsSemAdm: Semaphore Admin. Table not created [semnt.c 1991]
ERROR => SemInMgt: Create Global Admin.Table failed [semnt.c 513]
ERROR => DpSysAdmExtCreate: SemInMgt [dpxxtool2.c 725]
ERROR => DpIPCInit2: DpSysAdmExtCreate [dpxxtool2.c 369]
DP_FATAL_ERROR => DpSapEnvInit: DpIPCInit2
DISPATCHER EMERGENCY SHUTDOWN ***
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Mar 24 08:37:22 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >< (normal)
DpJ2eeDisableRestart
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
DpShmPrfSwitch : State already set (OFF)
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
call semaphore clean-up function ...
***LOG Q0E=> DpSigGenHandler, Exception (c0000005) [dpnttool.c 432]
C-STACK -
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Application exception occurred:
Exception : c0000005 (Access Violation)
App : disp+work.EXE (pid=5908)
When : 3/24/2008 8:37:22.798
Threads : 2
Computer Name : RK-VAL-BI
User Name : SAPServiceBIQ
Number of Processors: 4
Processor Type: EM64T Family 6 Model 15 Stepping 7
Windows Version : 5.2 Current Build: 3790
State Dump for Thread Id 970
--> (FAULT) Stack Back Trace <--
FramePtr ReturnAd Param#1 Function Name
0000000007d1f310 000000000041a395 0000000000000001 disp+work!DpVmcCheckDebugProxy [dpxxvmc.c (1211)]
0000000007d1f400 000000000041d007 005f005000410001 disp+work!DpHalt [dpxxdisp.c (10016)]
0000000007d1fc40 0000000000421a1b 0000000002671ab0 disp+work!DpFatalErr [dpxxdisp.c (17789)]
0000000007d1fee0 000000000042d570 0000000000000000 disp+work!DpSapEnvInit [dpxxdisp.c (1388)]
0000000007d1ff10 000000000040108d ffffffff00000002 disp+work!DpMain [dpxxdisp.c (1076)]
0000000007d1ff40 00000000019c7dd1 0000000000000000 disp+work!nlsui_main [thxxanf.c (84)]
0000000007d1ffa0 0000000077d5964c 0000000000000000 disp+work!wmainCRTStartup [crtexe.c (498)]
0000000007d1ffd0 0000000000000000 00000000019c7c60 kernel32!BaseProcessStart
State Dump for Thread Id b88
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Function Name
000000000ef0fe40 0000000077d5f691 0000000007e6ac60 ntdll!NtFsControlFile
000000000ef0feb0 00000000018ae00f 0000000000000000 kernel32!ConnectNamedPipe
000000000ef0ff40 000007ff7fc411c4 0000000000000000 disp+work!SigIMsgFunc [signt.c (679)]
000000000ef0ff70 0000000077d6b6da 0000000077d6b6a0 msvcrt!endthreadex
000000000ef0ffa0 0000000000000000 0000000000000000 kernel32!BaseThreadStart
call clean-up function ...
SigICallExitRoutine: call exithandler (DpHalt)
DpHalt: shutdown server >< (normal)
DpJ2eeDisableRestart
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
DpShmPrfSwitch : State already set (OFF)
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
Can someone please help me with getting pass this error?
Thanks and regards,
Iqbal -
P45 Platinum (Urgent help needed please)
Last week I ordered parts for a new P.C. and I am having some major issues with this. The motherboard will not do anything. When I try to power on the computer the fans spins and all of the lights come on, but the computer will not post or go into the BIOS. There are 4 red lights on the board. From different things I have read I thought it may have been the motherboard so I had them send me another one. Well I got it today and it is doing the same thing! I am leaning toward the CPU, but I am hoping to get some help before I call them and request a replacement on the CPU. I am about to pull my hair because I am so frustrated. Here is a quick overview of the parts I ordered (in no particular order):
*800w PSU
*P45 Platinum Mobo
*500 GB SATA HD
*Intel Core 2 Quad Q6600
*VisionTek HD4870
*OCZ SLI ready 4 GB RAM (OCZ2N800SR4GK)
I thought it may have been the RAM because of the voltage, but from reading other threads I should be able to change the voltage (the RAM voltage is 2.1).
Here are some things that I have tried:
*New motherboard
*Only put one stick of RAM in instead of them both
*Only had RAM, Video Card, CPU hooked up with same results
*Cleared the CMOS (with the power off and the cord unplugged)
*Tried it with the motherboard outside of the case in case it was getting shorted out some how.
I would greatly appreciate any and all help you could give me. Please helpQuote from: vernonion on 27-August-08, 09:51:53
Everything is not working fine, and a pop with sparks is not a normal result from turning on a power supply. If you got it from Tiger send it back and get this one.
I talked to the rep earlier, but I had to go to a meeting. When I called him back he said he was on the phone with Intel to make sure my CPU would work with that board. I know it will work so I have no clue why he called them. He didn't seem to concerned about the PSU though. I told him that the PSU popped and made sparks and it didn't phase him at all. I already told him I wanted to exchange the RAM with different kind and I wanted a new PSU. When I give him the new RAM and the PSU I want I will give this one a try.
Thank you for your help. -
Reverse DNS not function properly ? URGENT HELP ..PLEASE..
Please tell me how to do a Reverse DNs in java
e.g IP address of a network machine is 192.168.0.30
Then how can i get its name (i.e machine name)?
I know that i mus thave to use a jdk 1.4
Please prvide a full solution.
Thanks.Not all IP addresses map to a hostname. Try:
InetAddress.getByName( args[ i ] )And PLEASE don't post messages that say "URGENT"; it turns people off, by implying that your problems are more important thatn everyone else's. See http://forum.java.sun.com/thread.jsp?forum=57&thread=271752 -
Variables into flash movie - Urgent help needed, please
I am hoping this is simple:
Here is my HTML code:
<param name="movie" value="orig2.swf" /><param
name=FlashVars VALUE="sname=video1.flv"><param name="quality"
value="high" /><param name="bgcolor" value="#ffffff" />
I need to pass video1.flv to the flash movie.
Here is the MOVIE data. I was told this is how to do it, but
I am sure it's missing something basic.
//insert sample link below
mediaDisplay.directLink = "
http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
//pulls sname from param value in HTML
mediaDisplay.simplePlaylist = sname;
streamnameTxt.text = sname;
So, it should pull the SNAME variable from HTML and feed it
into player. If I type in SNAME variable and manually place it in
DirectLink line above, it works, but I need it to feed from HTML.
PLEASE HELP!!I know how to pass the variable TO flash, but how do I get
the FLASH movie to receive it??
Again, here is the code in the FLA file
//insert sample link below
mediaDisplay.directLink = "
http://flash.xxx.com/flashgen.cgi?sname=&aname=xxxxxxxx/_definst_";
//pulls sname from param value in HTML
mediaDisplay.simplePlaylist = sname;
streamnameTxt.text = sname; -
Urgent help need please..
hi all,
can we select table as ( select * from tablename ) of another database.
for ex: i had 2 databases 1.test1, 2.test2.
i need to select particular table records of test2 database in test1 database.
Is it possible. I connected to test2.I am giving like this ( SELECT * FROM TEST@TEST1).
Please..
Thanks in advs.Is it possibleYes, using DATABASE LINKS. See http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#i2061505
-
Urgent help needed please help me out
i m trying to make a jar file for my package named as mainPanel
but when i run the gcs.jar file it gives following error " failed to load mainclass menifest attribute from e:/gcs/mainPanel/gcs.jar"
could you please explain me the procedure through an example for making a jar file for a package containing many subfolder.http://catb.org/esr/faqs/smart-questions.html#urgent
-
Urgent help needed, please help me
Hi,
I am developing a web site using Java Servlets. The site requires to send XML as POST to an HTTPS server and get the response.
Development environment:
Laptop running Windows XP with jdk1.3.1, j2sdkee1.3 and Tomcat 4.1.
Since I need to use https request from the servlet, I am using the following code;
URL url = new URL("https://www.somesite.com");
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
To use the above code I downloaded the jsse1.0.3_03 package from the sun website and added the three jar files to the appropriate location. Also edited the java.security file.
The program compiles and when deployed to the web server, it works great.
Now the problem;
I need to deploy the web site in a server that is connected to the internet. This server is running Windows 2000 Server. It has the same jdk1.3.1, j2sdkee1.3 and Tomcat 4.1. Also I added the three jar files from jsse1.0.3_03. I also updated the classpath in the environment variable accordingly.
Everything is pretty much similar to the Laptop that I use to develop the site except that the OS is Windows 2000 Server.
But when I deployed the class files to the web server and tested the site, the servlet gave the following error:
"unknown protocol: https"
What could be wrong? I really need to fix this issue as soon as possible and any input from you will be highly appreciated.
Thanks in advance,
RajeshHi,
I used java class as beans and added to JSP page as follows (the code is not complete, I am just giving the parts that are relevant);
login.java: Implementation of login to access the database
*through JDBC. Uses MySQL.
Last Modified: 03.22.03
package user;
import java.sql.*;
import java.util.*;
public class login
private static Statement statement;
private static Connection database;
private static String jdbcDriver = "org.gjt.mm.mysql.Driver";
private static String source = "jdbc:mysql://127.0.0.1/user";
private static String username = "user";
private static String password = "passwordforuser";
Constructor for initializing the connection to the database
public login()
try
Class.forName(jdbcDriver);
database = DriverManager.getConnection(source, username, password);
statement = database.createStatement();
catch (Exception e)
System.out.println("Error (From loginDatabase Constructor): " + e.getMessage());
Used to check the users
public String checkUser(String userName, String passwd) throws Exception
try
ResultSet names = statement.executeQuery("SELECT username, passwd FROM users");
while (names.next())
return "success";
return "wronguser";
catch (Exception e)
throw e;
<!--*********************************************************************************
login.jsp: Server page to process the login request. Uses login.class to
*add / login users.
Last Modified: 03.23.03
**********************************************************************************-->
<%@ page import="user.login" %>
<jsp:useBean id="login" scope="page" class="user.login" />
<jsp:setProperty name="login" property="*" />
<html>
<head>
<title>Login</title>
</head>
<body bgcolor="#3366FF" link="#000000" vlink="#000000" alink="#000000">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<% //Login the user and display the status
String loginResult = login.checkUser(request.getParameter("username"), request.getParameter("password"));
if (loginResult.equalsIgnoreCase("success"))
%>
<h1 align="center">You are successfully logged to the Server!</h1>
<%
%>
</tr>
</table>
</body>
</html>
Hope that helps...
Good luck!
Rajesh
Maybe you are looking for
-
How can i use my ipod on 2 computers without deleting my music
how can i use my ipod on 2 computers without deleting my music on ipod?
-
How do I re-install Adobe CS6 on a new mac with no disc drive?
How do I re-install Adobe CS6 on a new mac with no disc drive?
-
How Do I Hide The Sidebar?
When I search for a folder with spotlight the folder opens showing the sidebar. How do I change that?
-
I have downloaded Firefox for the First time, Firefox can not connect to any website (Unable to COnnect), but IE can. I have followed all the directions on the page for firefox can not load when other programs can (Firefox connection settings,IPv6,DN
-
Upgraded to Lion and now getting error 51 when trying to use Cisco VPN Client.
Mac mini with Snow Leopard not having same issue, VPN client works fine. What happened?