Tejo Kumar

Greenhorn
+ Follow
since Aug 09, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Tejo Kumar

Hi,
I have deployed web service in Tomcat. When I try to retreive the wsdl from the url, I get the message...
------------------
AXIS error
Could not generate WSDL!
There is no SOAP service at this location
------------------
For example when i try to access the url say http:\\myhost:8080\webservices\services, I am able to see the names of services deployed.... But when I click on the wsdl link given beside that url I am getting the above error message.... Can anyone help in this.

Thanks in advance,
Tejo
18 years ago
Hi,
I am getting "java.util.zip.ZipException: oversubscribed dynamic bit lengths tree" , when I am trying to retreive files from a zip file. I am using jdk1.5, windowsXP professional.
The part of my code is,

zipStream is ZipInputStream.

do{
ZipEntry zipEntry = zipStream.getNextEntry();
if(zipEntry == null)break;
System.out.println(zipEntry.getName());
}while(true);

Can anyone help me solving this problem!
Thanks in advance,
-Tejo Kumar
19 years ago
Hi,
I am getting "java.util.zip.ZipException: oversubscribed dynamic bit lengths tree" , when I am trying to retreive files from a zip file. I am using jdk1.5, windowsXP professional.
The part of my code is,

zipStream is ZipInputStream.

do{
ZipEntry zipEntry = zipStream.getNextEntry();
if(zipEntry == null)break;
System.out.println(zipEntry.getName());
}while(true);

Can anyone help me solving this problem!
Thanks in advance,
-Tejo Kumar
19 years ago
hi,
There's a link which says try .
You need to click that if u are using the trial version of whizlabs.

Regards
Tejo.
Hi,

I have used C/ODBC driver. But I found that it is only for Microsoft Technologies. Now I am trying to connect to Navision using CFRONT.DLL. I donno how to use the functions in that DLL. Can anyone help me in this case.

Thanks in advance,
Tejo Kumar.
Hi,

How can we connect to Navision using jdbc? Here is the code snippet.


Exception is:
java.sql.SQLException: The result set type is not supported.

Can anyone solve this problem?

Thanks & Regards,
Tejo Kumar.
Thanks David...

Tejo Kumar.
Thanks paul,

I am giving the values to composite keys which are in database. I am only changing the currencytext variable.

Shud we get the persistant object to be updated before assigning the new values? Is it compulsory?

Tejo Kumar
Here is the hbm file of the object to be updated.



Here is the code snippet to update the fields in database.


When I am doing so, all other fields are becoming null.
I am also using Spring with hibernate.

Regards,
Tejo Kumar
Hi,

I am getting the problem in updating a single value in a row. When I try to do it, all other values are becoming null in the database. Can anyone help me in solving my problem!

Thanks in advance,

Regards,
Tejo Kumar.
Hi Paul,

Thanks for ur reply.
I have solved the problem. The problem was keeping the attribute "cascade=all" of collection, set in hbm file. I have removed it and its working fine.

Regards,
Tejo Kumar.
Hi,
I am having a problem in updating the values of one form which is realated to 2 tables. When i am trying to update the values I am getting the following error message.

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Exception on Hibernate data access; nested exception is:
net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 8, of class: com.b2b.datas.dto.Postaladdress
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:526)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:467)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.b2b.datas.filters.SessionChecking.doFilter(SessionChecking.java:50)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:86)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause

org.springframework.orm.hibernate.HibernateSystemException: Exception on Hibernate data access; nested exception is:
net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 8, of class: com.b2b.datas.dto.Postaladdress
org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:171)
org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:151)
org.springframework.orm.hibernate.HibernateTemplate.update(HibernateTemplate.java:236)
com.b2b.datas.dao.PostalAddressDAO.update(PostalAddressDAO.java:140)
com.b2b.datas.web.action.PostalAddressAction.update(PostalAddressAction.java:272)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:218)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.b2b.datas.filters.SessionChecking.doFilter(SessionChecking.java:50)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:86)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


root cause

net.sf.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 8, of class: com.b2b.datas.dto.Postaladdress
net.sf.hibernate.impl.SessionImpl.checkUniqueness(SessionImpl.java:1673)
net.sf.hibernate.impl.SessionImpl.doUpdateMutable(SessionImpl.java:1442)
net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1469)
net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1392)
net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114)
net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436)
net.sf.hibernate.engine.Cascades.cascadeCollection(Cascades.java:526)
net.sf.hibernate.engine.Cascades.cascade(Cascades.java:452)
net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503)
net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482)
net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1474)
net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1392)
net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114)
net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436)
net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503)
net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482)
net.sf.hibernate.impl.SessionImpl.doUpdate(SessionImpl.java:1474)
net.sf.hibernate.impl.SessionImpl.update(SessionImpl.java:1354)
org.springframework.orm.hibernate.HibernateTemplate$4.doInHibernate(HibernateTemplate.java:238)
org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:144)
org.springframework.orm.hibernate.HibernateTemplate.update(HibernateTemplate.java:236)
com.b2b.datas.dao.PostalAddressDAO.update(PostalAddressDAO.java:140)
com.b2b.datas.web.action.PostalAddressAction.update(PostalAddressAction.java:272)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:218)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.b2b.datas.filters.SessionChecking.doFilter(SessionChecking.java:50)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:86)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

Can anyone please solve my problem, and help me with the correct approach.

Thanx,
Regards
Tejo Kumar.
Thanks Kriti...

It worked...

Thanks again.
Tejo Kumar.
20 years ago
Hi,
Internal frame is just like a frame.
Resizing means, resizing the window using mouse.

Regards,
Tejo Kumar.
20 years ago