Habib Ghayoumi

Greenhorn
+ Follow
since Dec 30, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Habib Ghayoumi

Hi
I want to put my message into mq from my application. I get the error:
MQJMS2013: invalid security authentication supplied for MQQueueManager
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1830)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:157)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:185)
at dpi.atlas.client.util.JMSConnectionPool.MQSessionPool.start(MQSessionPool.java:70)
at dpi.atlas.client.util.JMSConnectionPool.MQSessionPool.<init>(MQSessionPool.java:40)
at dpi.atlas.client.EBankingClient.Init(EBankingClient.java:131)
at dpi.atlas.test.MessageSend.main(MessageSend.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

What is the solution?
I use websphere mq 6.
12 years ago
Hi
I have an applet-servlet web application that runs under tomcat 6. In my applets I get base url using line below:

strHost = new String(getCodeBase().getHost());

but I get wrong value. I mean Instead of getting value "http://localhost:8080/DC" I just get value "http://localhost"
How can i solve the problem? Should I edit tomcat configuration file?
Thanks

Habib
14 years ago

Bear Bibeault wrote:Please be sure to ask IDE questions in the IDEs forum. I have moved this post there for you.



I have added a remote in IDEA and set the port . but when i start debugging nothing happens just a message that "you can not open the port ". i have added the port in catalina.bat too . This problem has confused me
Hi,
I want to debug my application that runs on tomcat 5.5.27 . My IDE is intellij 6. I have lots of problems.
can anyone explain step by steb guide for debugging. My problem is related to socket, java_opts, catalina.bat

thanks in advance
Habib
Hi,
I am going iransfer my data from sql server to db2. i have writen a simple java class that reads record by record from my tables and write them into db2.
every thing is good except columns that contain farsi fonts. They appear like square in my db2 database and also in my forms.

can anyone help me.
thanks alot.
Hi
I am designing a form using swing components in my applet. I want to have a strip on top of my form with a title in it. I am using jpanel and color bachground for it. My problem is that I cannot decrease height of the jpanel more than a minimum size. It covers one fourth part of my form. below code:

JPanel jpRow0 = new JPanel(new FlowLayout(FlowLayout.RIGHT, hgap, vgap));
jpRow0.computeVisibleRect();
jpRow0.setPreferredSize(new Dimension(695, 1)); // does not work !!!
jpRow0.setBackground(new Color(0,0,128));
JLabel lblFormTitle = new JLabel(TitlePersian.REPORT + " " + TitlePersian.INVOICES_ + " " + TitlePersian.CONTRACT);
lblFormTitle.setFont(Global.font);
lblFormTitle.setForeground(new Color(255,255,255));
jpRow0.add(lblFormTitle);
getContentPane().add(jpRow0);

does anyone has experienced my problem and has a solution? I would be thankfull if share your knowledge .
Thanks in advance
Habib

15 years ago