Help coderanch get a
new server
by contributing to the fundraiser

Sri Yasasvi

Ranch Hand
+ Follow
since Nov 07, 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 Sri Yasasvi

Hi,

Can anyone explain me the reason why, logical handlers execute before SOAP Handlers of an outgoing message and vice-versa of an incoming message?

Thanks,
Hello everyone,

I am learning WebServices. I just want to make sure what I understand is correct or not after I read from internet and books.

From JAX-WS RI 2.1.4, runtime automatically generates wsgen artifacts when the endpoint is published. Please clarify me on it.

Thanks,
Hello,

I have a question about Weblogic Connection Filters. I have to access my application only through a specific server and reject all other connections but I am not able to access my application even from the specified server(www.abc.com)

Here are my sample connection filter rules:

www.abc.com hostname(where weblogic managed server running) port(weblogic managed server listening) allow http
0.0.00/0 * port(weblogic managed server listening) deny http

your help would be greatly appreciated.

Thanks
10 years ago
def readable = { it.put("12 34".reverse()); 5 } as Readable

def s = new Scanner(readable)
assert s.nextInt() == 43
println s.nextInt()


As of my understanding, the above code snippet should print 21. But it is printing 2143. Could anyone of you explain this please.

Thanks,
Yasasvi
13 years ago
Thank you so much Mohamed!!!


Now i understand clearly.....
13 years ago
Here is my undrestanding.

noParam is Closure. So the statement (println noParam != "no param") is returning true.

Then i changed the statement (println noParam.toString() != "no param") . But it is still returning true. Could you please explain this.

13 years ago
Hi All,

I am new to Groovy. I am running some basic examples while learning.

Could anyone of you tell me why the last print statement is printing true.

def noParam = { -> println "I'm executed"; return "no param"}
def oneParam = { out -> println "Executed with a ${out.class} parameter"; out << "one param"}
println noParam != "no param // Printing true

Thanks,
Yasasvi

13 years ago
Hi Everyone,

We are upgrading our application from websphere 6.0 to 6.1. And we are deploying the application through Maven. After we deployed the application, we re not seeing any jsp content(i am thinking that jsp pages are not getting compiled). And even it is not giving me any error. I amjust getting blank page. But if i deploy the application manually, i am not getting any issues.

Can anybody help me ASAP to resolve this issue. My question is, is there any configuration changes i have to make...


Please reply me ASAP.

Thanks,
Sri
13 years ago
Hi All,

I am trying hook up websphere test environment which comes with Rational Application Developer i 7.5 to my existing ecplise. But i am new to this process. Could you please let me know if you have any idea in doing this.
Thank you so much for your reponse!!
13 years ago
Please reply me if you know any websites.
13 years ago
Hi All,

I am looking for full time jobs in Java/J2EE in USA. I came across through one website called getjavajobs.com. But i never heard about that website earlier. Could you please guide me in looking fulltime jobs like which websites are good to find some good jobs.

I am looking to move to new job ASAP.


Thanks,
Yasasvi
13 years ago
Hi All

I am trying to build and install war file on remote Websphere 6.1 server using Maven 2.0.11. But i am getting the following error. Could anybody help me in this please if you get this issue before.


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to execute: Executing Ant script: /was.build.xml [was-action]: Failed to execute.

The directory you specified does not exist
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute: Executing Ant script: /was.build.xml [was-action]: Failed to execute.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:290)
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 org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute: Executing Ant script: /was.build.xml [was-action]: Failed to execute.
at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:56)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:454)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
... 16 more
Caused by: org.codehaus.plexus.component.factory.ant.AntComponentExecutionException: Executing Ant script: /was.build.xml [was-action]: Failed to execute.
at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:227)
at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52)
... 18 more
Caused by: C:\DOCUME~1\716602\LOCALS~1\Temp\plexus-ant-component48057.build.xml:202: The following error occurred while executing this line:
C:\DOCUME~1\716602\LOCALS~1\Temp\plexus-ant-component48057.build.xml:220: The directory you specified does not exist
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:222)
... 19 more
Caused by: C:\DOCUME~1\716602\LOCALS~1\Temp\plexus-ant-component48057.build.xml:220: The directory you specified does not exist
at org.apache.tools.ant.taskdefs.ExecTask.checkConfiguration(ExecTask.java:467)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:450)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
... 27 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Mon Nov 22 16:34:25 EST 2010
[INFO] Final Memory: 12M/31M
[INFO] ------------------------------------------------------------------------


Thanks,
Sri
13 years ago
Hi All,

I have cleared SCWCD 5. Could any one of you direct me to download SCWCD 5.


Thanks,
Sri
Thank you so much for your help. Could you please suggest me any work around for this.
14 years ago