Manoj Paul

Ranch Hand
+ Follow
since Jan 18, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Manoj Paul

Hi Nishtha,
Did you got a way out?

I am facing similar problems but for different port, snapshot below:

java.lang.IllegalArgumentException: IllegalArgumentException invoking: port out of range:-1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1359)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
at org.apache.cxf.transport.http.netty.client.NettyHttpConduit$NettyWrappedOutputStream.close(NettyHttpConduit.java:153)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:137)
at com.sun.proxy.$Proxy42.getDeductibleGroup(Unknown Source)
at My.main.org.MyUnit.main(MyUnit.java:69)
Caused by: java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.checkPort(Unknown Source)
at java.net.InetSocketAddress.<init>(Unknown Source)
at org.apache.cxf.transport.http.netty.client.NettyHttpConduit$NettyWrappedOutputStream.connect(NettyHttpConduit.java:293)
at org.apache.cxf.transport.http.netty.client.NettyHttpConduit$NettyWrappedOutputStream.setupWrappedStream(NettyHttpConduit.java:243)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1302)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1258)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47)
at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1315)


Any suggestion/help will be appreciated.
Paul, GGN
10 years ago
JSF
Hi experts,

Could someone please suggests/advice me on the challenges involve in migrating from Weblogic11 application server to JBoss7 application Server?
The technologies involve in the project are:
*JDK1.6
*JMS
*EJB 3
*JRules
*Sybase 12 DB and SQL Server 2005 DB
11 years ago
Hi All,

I am working on Web-logic 11g. In a remote system there is one instance of Web-logic server present but two different individuals can login using there user credentials and run the application simultaneously (note: same server but different workspace). There's no problem running the application. But the problem arise when one of the user puts a debug point and the other has to wait till the debug point get executed. I guess the problem is because of the same server being used. I was wondering is it possible to create different instances of the server so that debugging can be done simultaneously without anyone waiting for the other.

Thanks,
Manoj Paul
12 years ago
Hello Kartik!

To descibe you in more detail
Here's my jsp page coding


You could see that within the for-loop there is a
The data is diplaying fine here. But using this that is within the for-loop the value showing in the text field is that of the value of the

So thats where the problem is if I use any Html element in my code the value showing is that of some other elements.
Yes the data is displaying in the Action class (i.e both description and tariff_Category_Id) of the complete list.

Please advice if you can.

Regards
15 years ago

And one more thing like had you declared "request" in JSP? as am not able to see in the jsp.


No
Request is an jsp implicit object.. Do I need to declare it still?
Please advice

15 years ago
Hello Kartik,
The data is not displaying in my jsp page.

Here's my method in the Action class




This is my jsp page:



Can you figure it out?
I checked that request .getAttribute always point to null

Thanks & regards
15 years ago
Hi Kartik
Thanks for the reply

# <logic:iterate id="myList" name="myList" scope="request">
# <bean:write name="myList" />
# </logic:iterate>



Where should I make the changes if I want to display the value of each ("description") of my list in my jsp page using
out.println();

Regards
15 years ago

Ankit Garg wrote:
So this line of code results in text fields which have a different value for the id and value attribute?? I can't see any situation in which this can happen. This seems impossible to me...



Hi Ankit,

Its not like that as you thought.
I mean to say both the id and value will have the same data value. But the problem is not there but why the value of


display value of
15 years ago
Hi all,

I have a list in my session.
My jsp page:




Can I use Struts iterator to loop through the list (myList)?
I am using Struts 1.

Regards
15 years ago
Hi,
Thanks for the reply..

Does it display the value of the 5 text boxes instead of the result of your scriptlet expression <%=vals.get("tariff_Category_Id")%>??


Yes exactly you got the problem. That's exactly where the problem is.


Regards
15 years ago


Hello everybody!

I am using Struts 1.
This is my jsp page.




I am facing a strange problem in my application.
In the JSP Scriplet tag you could see that I am dynamically
creating a few html text input with the help of a for-loop
When using it display the correct data on the page(As no html elements is being used). But when I want to display the value in .. It displays the data from the bottom 5 struts html properties and not the correct value from the List,i.e, value of


Can someone please help me out and explain why these things are happening in my application?
F1 please..
--
Regards
15 years ago
Hello,
Thanks for the reply.

But I need the Order as command because in my jsp page there are some Order properties too which I didn't mentioned in the jsp page that I post in this forum.

This is my Order class:




Order is my parent entity and ItemSet(Set) is a collection of a group of Item Objects that will be submitted when a customer will save his order. Its one-many relationship.

Please advice.
Thanks again for the reply.
15 years ago
Hello everybody!

This is my jsp page:



This is my Order(bean) class:




This is my Item (bean) class:





This is my Spring controller:







Can someone please tell me what should be the path value of the following code which i have mentioned in the jsp page:



Please help me!

Thanks
15 years ago
Hi!

Can we add an event to List?

Like say: I want to display at the ticker the content of the list which is selected.
If I select List index[0], then the content of the List at zero will be shown at the ticker and so on for which ever index I select from the List.
When I press down the down arrow of my keyboard that particular index should be displayed only and not on Pressing the Ok button which goes for the commandAction (Command c, Displayable d) method. There must be some event handling for the problem which I am facing but not sure about it.

Using this code only display the text of the first selected item which is selected by default:



If someone can please throw some lights on this.

Thanks,
15 years ago