Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

Jyothi Pathuri

Ranch Hand
+ Follow
since Jan 29, 2006
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 Jyothi Pathuri

Hi



We are working on webservices with axis2 on jboss.

We are getting the following exception with the stub. The request is processed, sent to the legacy system through skeleton and then through JCA.The response is received in JCA. But the stub is receiving exception.



Here is the exception.



axisFault occurred during service invocation:java.lang.IllegalStateException: attribute type accessed in illegal event!



The Axis Fault Reason is:null



The Axis Fault Node URI:null



org.apache.axis2.AxisFault: java.lang.IllegalStateException: attribute type accessed in illegal event!



at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)



at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)



at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)



at xlink.MonitoringServicesServerStub.CSTAMonitorStart(MonitoringServicesServerStub.java:385)



at xlink.MonitoringStartClient.main(MonitoringStartClient.java:84)



Can somebody help in this regard?

Thanks,
Jyothi
10 years ago
I am using Sun Java System Application Server for developing and deploying web services. in this , I am using deploytool for deploying web services.
10 years ago
Hi,

I am new to web services and have just started deploying them using J2EE Application server. I have created the war file using deploy tool. Then to deploy the service, I clicked Tools->deploy on the deployment tool. It is asking on which server the service should be deployed. I have selected localhost:8080. but it is saying that "server cannot be contacted. please confirm that server is running and valid username and password is given". The server is running and I got the correct home page on the URL "http://localhost:8080" . The username and password are the same which I have given during installation. I am able to login to admin page using these credentials.

Please help me in deploying this web service and to check whether it is running or not.

Regards,
Jyothi
10 years ago
it is an applet.

The error i am getting is

Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.awt.AWTPermission accessClipboard)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkSystemClipboardAccess(Unknown Source)
at sun.awt.windows.WToolkit.getSystemClipboard(Unknown Source)
at ChoicePlus.keyPressed(ChoicePlus.java:739)
at java.awt.Component.processKeyEvent(Unknown Source)
at EditPlus.processKeyEvent(EditPlus.java:2209)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Please please help to solve this problem.
11 years ago
Thank you ULf for your immediate response. In my code, I am trying to implement copy/paste feature for a component which is developed from scratch. Copy is working fine, because i am able to view the copied contents through clipboard. but when i am trying to paste the contents in the component it is throwing
"Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.awt.AWTPermission accessClipboard)".

Please help me how to solve this problem programmatically.

Regards,
Jyothi.
11 years ago
Hi all,

Is there any way to grant AWTPermission to a component programmatically(other than through grant command).

Regards,
Jyothi.
11 years ago
it is a component which is developed from scratch. it doesnot extend any JTextField
11 years ago
Hi all,

In my project there is a component like textfield which is developed from scratch. i have to implement copy/paste functionality i.e if we should be able to copy data from somewhere and paste data in this component. kindly help me how to proceed.

Regards,
Jyothi.
11 years ago
Thank You Kenny, I learned a new concept today.
Hi,

As far as SCWCD is concerned u can follow Head First Servlets and JSPs. it is one of the best books available for this certification.

I dont remember the author but Prof.JSP by WROX publishers is another good book which u can take as a reference .

Regards,
Jyothi
Thank u Matthew.Now I got the point in arithmetic expressions. if we are using relational operators then what will be the difference.
I have tried to execute the following
${"2" le a }
${"apple" le a }

I got the output false for both the cases . Please explain me how the operators work in relational operators.

Thanks,
Jyothi
Hi everybody,

I was trying to execute ${"aaa" + 4} and the output is a exception saying "an exception occured while trying to convert "aaa" to type "java.lang.Long" .

EL expressions take any unknown value as 0 in arithmetic expressions and false in relational expressions. This is what I understood. Please correct me if i am wrong. and clarify me the rules of EL operator evaluation .

Regards,
Jyothi
Thank u Renato. That was very valuable info.