yogesh totare

Greenhorn
+ Follow
since Feb 02, 2005
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 yogesh totare

Thanks for the reply.

jbossall-client.jar file exists in the $JBOSS_HOME/client folder. Also the versions are compatible.
13 years ago
I am getting the following error on server startup. My jboss version is JBoss 4.0.5.GA.

Any clue why this error?

ERROR [org.jboss.mq.il.uil2.SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.ReceiveMsg187951305[msgType: m_receive, msgID: -2147483627, error: null]
[b]java.lang.NoSuchMethodError: org.jboss.mq.AcknowledgementRequest.<init>(Z)V
at org.jboss.mq.server.BasicQueue.setupMessageAcknowledgement(BasicQueue.java:1157)
at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:699)
at org.jboss.mq.server.JMSQueue.receive(JMSQueue.java:185)
at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:228)
at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java:604)
at org.jboss.mq.server.JMSServerInterceptorSupport.receive(JMSServerInterceptorSupport.java:141)
at org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterceptor.java:115)
at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:450)
at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:147)
at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:155)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:369)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:619)
13 years ago
Try with this.

System.out.println("map.get(new TestMap() : "+ map.get(new TestMap1()));
15 years ago
Hi,
Can u help me with the way to add a column in to a existing table using hibernate?? Basically i wanted to add few more columns in my table based on some criterion but as we need to map those enteries in the mapping file and do the corresponding changes in the java classes as well.. m not able to find the way for that...Please let me know your views,

Rergards
Hi All,

I have a jsp code(statement) like
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder (response.getOutputStream());

while runing it gives exception on the jboss console like

java.lang.IllegalStateException: getOutputStream() has already been called for this response

can anyone help me to solve this problem

Thanks in advance,

Yogesh...
18 years ago
JSP
hi all,

i am doing a simple authentication application , now i want to display the invalidate username and password message on login page if login authentication failed after submiting the login page. what i have to do for that?

what i tried is
1> i have my struts-config files action tag as

<action input="/pages/Login.jsp" name="LoginForm" path="/greeting" scope="request" type="com.bolt.actions.LoginAction" validate="true">
<forward name="sayhello" path="/pages/output.jsp" redirect="true"/>
<forward name="sayerror" path="/pages/error.jsp" redirect="true"/>
</action>

what are the next steps to solve above problem?

if there is any way with the help of <logic resent > tag , plz explain me?


thanx in advance,

regrads,

yogesh...
18 years ago
hi Paul,

i have done the hibernate jboss set up and it runs well but i don't get what are the changes made in order to use the mbean(second level cache).

1)in the jboss directory which file we have to change?
2)what is the code we have to write in class to access that mbean?

thanks in advance,

yogesh
hi to all,

List result = session1.createQuery("select l.username , l.password from Login AS l ").list();

this is my query and now i have to take username and password from the result, then what code should i write there?


thanks in advance

yogesh
hi all,
what is the procedure to configure hibernate and jboss using Mbean


thanks

yogesh
hi all,

anyone who knows about the MBean in JBOSS
and what are the advantages of it

plz inform


thanx in advance
18 years ago
hi all,

i have a question with the following answer does it right if right plz explain.


Question --> When an object is being constructed then following two things occur

Answer---->
All the initializations of the static variables starting from supermost class(Object class) upto the given class occurs first.


This followed by the execution of the constructors starting from the supermost class (Object class)upto the given class occurs.




thanx in advance


yogesh totare.
19 years ago
Fisher Daniel i support u

And mostly client side validation is done through javascript(script lan)


regrads
...yogesh
19 years ago
thx for reply -- Mark Vedder


do u know any online document that help me to get info abt maintaning the session attribute?


regrads

...yogesh
19 years ago
hi to all,

I am new to struts. i have a problem like

I set the username to request.setAttribute("user", user);
in the GreetingAction class ,from this control goes to main.jsp
through this statement [ return mapping.findForward("out"); ]

i am trying to fetch this attribute in main.jsp by
<%=request.getAttribute("user")%> tag

my struts action element is like

<action name="LoginForm" parameter="method" path="/main" scope="request"
type="com.coremobility.Actions.GreetingAction">
<forward name="out" path="/pages/main.jsp" redirect="true"/>
</action>

problem is that i got null instead of getting value of user attribute.

when i remove "redirect" attribute from the forward subelement then its working but when i refresh the page it is not working.

is there any way to pass this username from one page to another

wating for reply

regrads,

...yogesh
19 years ago
hi to all

i am using tiles. when i click on the submit button the size of my menu.jsp page automatically increase even though i am using same tempalte and same menubar.jsp. even the headre and footer remains same.


with Regards

yogesh
19 years ago