Java Open Source Software

  • JACOB-> I need a sample code to access QCfolders from java
  • Tue, 14 Dec 2010 03:25:00 GMT
  • Hi All,Am able to connect Hp quality center 10 using JACOB api actveX componet. Now am trying to access the test Suit folder/root folder of QC.Any one having sample code to access this folders using java code....please advice me the steps to achive this.Thanks,Shrinivas...
  • How do I get multiple process to log to the same file?
  • Fri, 28 May 2010 04:10:00 GMT
  • How do I get multiple process to log to the same file? (processes and the log file are on the same machine) Thanks, H. ...
  • is Struts better than Maplet?
  • Sun, 04 Jul 2010 13:50:00 GMT
  • Some days ago I found some thing in source forge it said there is a new java pattern that's name is shine enterprise pattern in this pattern there is some thing that's name is maplet it based on servlet but there are lot's of differences I want to know ur idea. who work with...
  • HTTPS redirects & then basic auth fails
  • Tue, 12 Oct 2010 16:24:00 GMT
  • Hi I am trying to upload a file to a https site. The site redirects 3 times and then login fails with a 401 error. I am using Apache HttpClient 3.0. The server folks said they could not see the credentials on their side. I would greatly appreciate any help. Here is the code:  &nbs...
  • Can't register tcnative-a.dll(x64) on windows 2008 R2 (x64) running java (x64)
  • Wed, 27 Oct 2010 14:43:00 GMT
  • Hi, I am trying to deploy the 64bit tomcat native driver to one of our production tomcat servers but following the Apache SWF has drawn a blank. placing the dll in the same directory as the tomcat binary has no effect as it is still missed. attempts to register the dll using regsvr32.exe have...
  • Can't register tcnative-a.dll(x64) on windows 2008 R2 (x64) running java (x64)
  • Wed, 27 Oct 2010 14:45:00 GMT
  • Hi, I am trying to deploy the 64bit tomcat native driver to one of our production tomcat servers but following the Apache SWF has drawn a blank. placing the dll in the same directory as the tomcat binary has no effect as it is still missed. attempts to register the dll using regsvr32.exe have...
  • I am using jfree tables & am exporting to excel.While viewing the print preview the table is break
  • Thu, 29 Apr 2010 23:24:00 GMT
  • I am using jfree tables and am exporting to excel.While viewing the print preview the table is breaking .i need to scale the table.i am using page and page format...
  • If I want to just put a foreign key in a one table. Can I make the bidirection relation
  • Wed, 07 May 2008 12:17:00 GMT
  • Not really ... ;-(. But before committing myself to this reply, why not show us what table layout you have in mind ?Wernerkendeng9898-castor.thatisjava.com.yahoo.com.cn wrote:Hi Werner,This can help me. If I want to just put a foreign key in a one table. Can I make the bidirection relation?ThanksKenHi,there's...
  • zipdiff project
  • Tue, 15 Jul 2008 18:10:00 GMT
  • zipdiff is a command line utility that can compare any two ZIP / JAR / EAR / WAR files.http://zipdiff.sourceforge.net/Enjoy.-Sean...
  • zip & uptodate
  • Tue, 15 Jul 2008 18:11:00 GMT
  • Hi folks,I'm trying to write an ant task which will add a set of source files to a possibly pre-existing zip file, using the update=true attribute to make sure that they are added if the zip file exists, and added to a new zip file otherwise.In my first test, I'm running with the zip fil...
  • YAHOO.util.Event.onDOMReady is not a function
  • Wed, 30 Apr 2008 15:50:00 GMT
  • Hi,maybe this isn't a real GridSphere question, but maybe someone couldgive me a hint:I would like to load javascript function using the YUI-function:YAHOO.util.Event.onDOMReady.The problem is while loading a page I getthe message "YAHOO.util.Event.onDOMReady is not a function". I did atest...
  • y this ClassCastException in log4j ?
  • Tue, 15 Jul 2008 18:05:00 GMT
  • I have a class called MyApp in LoggerPkg package. It has this line: private final static MyLogger logger =(MyLogger) MyLogger.getLogger(MyApp.class.getName()); MyLogger extends Logger.It has getLogger method that returns Logger object based on the LoggerFactory object. Now in the properties file...
  • XYAreaRenderer Jfreechart
  • Tue, 15 Jul 2008 18:12:00 GMT
  • I am trying to use the XYAreaRenderer to shade everything under the line in my graph. The problem I am running into is that my range is set to inverted so that 0 starts from the top and max value is at the bottom. When I try to use XYAreaRenderer in the setup up it shades from line to 0 when I w...
  • XXXTypeChoice differences in SourceGenerator (Castor 0.9.6 vs. 0.9.5.3)
  • Wed, 30 Apr 2008 20:50:00 GMT
  • Castor User Community:We have used the Castor SourceGenerator for some time with the sameSchema.xsd, castorbuilder.properties, and command-line options from atleast Castor 0.9.3.19 through 0.9.5.3. In the process of upgrading from0.9.5.3 to 0.9.6, however, the resulting source code for one of th...
  • XXXTypeChoice differences in SourceGenerator (Castor
  • Wed, 30 Apr 2008 20:50:00 GMT
  • John,I'm going to jump to a conclusion without really knowing for certain,but it was probably a bug fix that is causing the difference. Yourchoice is marked as unbounded which is why Castor is creating the sourcethat returns an array. I'm going to assume that the source generator waspr...
  • XSL-FO Table Header Problem
  • Sun, 27 Apr 2008 02:33:00 GMT
  • Hello,I'm quite sure you know the problem with tables: if they don't fit on apage, they are divided when there are page breaks.I added a keep-together attribute to make them move to next page toavoid the tables to be divided. This works, but there are still sometables that don't e...
  • XSL/Document-to-HTML.xsl Question
  • Sat, 26 Apr 2008 18:17:00 GMT
  • I'm not sure if this qualifies as a daisy question or an xsl question, but Iwas using Daisy as a CMS for a site that I work on.My preference is to use the plain text editor, so I've implemented that formany of my part types. The production front-end for content is using theJava API to...
  • xsl/document-to-html.xsl
  • Sat, 26 Apr 2008 17:29:00 GMT
  • I'm not sure if this qualifies as a daisy question or an xsl question, butI was using Daisy as a CMS for a site that I work on.My preference is to use the plain text editor, so I've implemented that formany of my part types. The production front-end for content is using theJava API to...
  • xsi:type="java:java.lang.String"
  • Sun, 18 May 2008 22:59:00 GMT
  • I am trying to marshall some Java5 Typed Enums and the output xml has thefollowing xsi:type declaration in the generated xml element.xsi:type="java:java.lang.String"The output xml does not validate against the XSD as the expect type is xmlschema string type and not java type. How can I prevent c...
  • xsi:type inheritance : generator
  • Sun, 27 Apr 2008 04:51:00 GMT
  • Hello,=0A I am new in castor and I face a problem concerning xsi:type and=inheritance. Assume that we define the following code in a schema=0A <c=omplexType name=3D"vehicule" abstract=3D"true"></complexType>=0A <comple=xType name=3D"car"> =0A <complexContent>=0A =<exte...
  • xsi:type generated when declaring a FieldHandler
  • Tue, 06 May 2008 22:23:00 GMT
  • HelloI am trying to do the following. I have an xml schema containing the followingsection:<xs:element name="expirationDate" type="xs:int"/>I then have a binding file which declares the following:<cbf:elementBinding name="expirationDate"><cbf:member java-type="test.castor.MonthYea...
  • Hi,=20The xml string that is generated by the Cast...
  • Wed, 30 Apr 2008 22:47:00 GMT
  • Hi,=20The xml string that is generated by the Castor marshaller has an"xsi:type" attribute in the root node which Cator will require tounmarshal the XMLe.g.<Manager xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"xsi:type=3D"java:za.role.Manager">....</Manager>When I try to lo...
  • xsi:schemaLocation Attribute
  • Tue, 06 May 2008 17:52:00 GMT
  • Hi Keith,Thanks for your reply.#When you declare the namespace as such:=20myMarshaller.setNamespaceMapping("", "http://www.ne.jp/method/"); You get==20the below output?Yes Keith I am getting below output. In this case I think I will have to=20instance my XML with namespace prefix OR without name...
  • xsi:schemaLocation Attribute
  • Tue, 06 May 2008 17:49:00 GMT
  • HI Andrew,Thanks for your suggestion. When I tried that with null and empty ("") prefix, it is producing output like below,<?xml version="1.0" encoding="UTF-8"?><tmsettings xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nec.jp/method settin...
  • xsi:schemaLocation Attribute
  • Tue, 06 May 2008 17:49:00 GMT
  • Dear All,I am having problem with xsi:schemaLocation Attribute during marshalling. "xsi:" namespace in schemaLocation is also suppresed by method marshaller.setSuppressNamespaces(true). This makes my XML invalid.I am using defaultnamespace (xmlns) attribute in root, because I do not wish to tag...
  • XSI attribute in generated XML
  • Sat, 26 Apr 2008 15:35:00 GMT
  • Hi I=20was=20wondering=20why=20I=20am=20getting=20an=20xsi=20attribute=20comi=ng=20out=20in=20my=20XML NB=20I=20read=20the=20docs=20on=20using=20interfaces,=20but=20that=20menti=ons=20I=20specify=20itmyself=20in=20the=20mapping. =20I=20don't,=20Castor=20somehow=20decides=20t=hat=20it=20need...
  • XSI attribute in generated XM
  • Sat, 26 Apr 2008 15:39:00 GMT
  • Hi=20WernerThanks=20for=20the=20reply.=20 MortgageFeeValue=20does=20indeed=20extend=20another=20class,=20ValueBase,=20=which itself=20implements=20the=20Serializable=20interface=20(required=20for=20H=ibernate). Do=20you=20think=20that=20this=20is=20the=20reason?=20If=20so,=20then=20it='s=20...
  • xsd:group & Castor 1.1.1
  • Tue, 29 Apr 2008 15:43:00 GMT
  • Werner/Mattias,We have encountered a problem with xsd:group. Given this schema:<xsd:schema xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"xmlns=3D"http://www.fpml.org/2003/FpML-4-0"targetNamespace=3D"http://www.fpml.org/2003/FpML-4-0" attributeFormD\efault=3D"unqualified" elementFormDefault=3D...
  • xsd:enumeration
  • Wed, 07 May 2008 00:16:00 GMT
  • Hi Keith,I recently found that the source generator has problem with dealing someof the xsd:enumeration. Specifically, I found that if the base type isxsd:NMTOKEN or xsd:inteter, the Java source files in the types subdirectory do not get used at all. As a result, the enumeration values donot get...
  • XSD:any type & Unmarshalling
  • Wed, 07 May 2008 09:44:00 GMT
  • Hi,I have a problem unmarshalling an XML document which complies with a XSDwhich defines one of the elements as a xsd:any (xsd - namespace). The XML issent and contains the value of the element as a String. The object typethough is defined as any. When I run the unmarshaller on that xml I getexc...
  • Java Technology Blogs
  • "Java Open Source Software" Related Questions
  • [JIRA] Updated: (DSY-527) timer testcases in
  • [ http://issues.cocoondev.org//browse/DSY-527?page=all ]Bruno Dumon updated DSY-527:--Component: Repository - database support(was: Workflow)> timer testcases in LocalWorkflowTest fails with PostgreSQL as database> ---> Key: DSY-527> URL: http://issues.cocoondev.org//browse/DSY-527&g...
  • Integrating Daisy CMS with an existing application and
  • Thanks li pan,I have went through the post you mentioned, and will do the hackingwhile we do the implementation.Hope somebody would answer my other questions.=20Vijesh--Original Message--From: daisy-bounces-81qHHgoATdGcMQoVcdA18UB+6BGkLq7r.thatisjava.com.public.gmane.org[mailto:daisy-bounces-81qHHgoATdGcMQoVcd...
  • Using Lucene with Web forums
  • Hi.How to use Lucene to search a web forum where the data is coming from a database ?I can think about a spider that downloads the generated HTML page and then apply a special Lucene filter that excludes HTML markup.Any ideas ?...
  • [JIRA] Commented: (DSY-148) Save username password in
  • [ http://issues.cocoondev.org//browse...ts#action_13550 ]Jay Cagle commented on DSY-148:--"Remember me" checkboxes are almost always on the login screen. If you want to duplicate it in the preferences, fine, but please put it on the login screen where users will actually see it.> Save usernam...
  • jasper report Band height
  • Hi, I am having the problem with jasper report band height.Is there any option to change the height of the detail band dynamically. I have a text field in details band its height is 23. If i pass 2 lines to that text field it omits the 2nd line.Please Help me....
  • AW: Problems building Castor & Adaptx
  • Fwiw, and I don't have any scientific proof for what I am trying to say, =but if you happen to use JDK 1.4.2, try to switch to latest release =(which should be 1.4.2_07, iirc). I used to have similar (unexplainable) =problems, and after upgrading these problems simply disappeared.Wernerwg&g...
  • Staroffice 8 session lost
  • I have a website for elearning where registered user can view word , powerpoint , pdf document. I notice this problem when i try to open a word or a ppt document with internet explorer: staroffice start but can't show the document, you are redirected to index page. It seems to lose the ...
  • Eclipse plug-in for Tomcat
  • I'm running:Eclipse 3.1Tomcat 5.5.9MySql 4.1I've downloaded the eclipse plug-in for Tomcat (tomcatPluginV31beta.zip) from http://www.sysdeo.com/eclipse/tomcatplugin. I've installed it, and so far it's working pretty well, but I have a few questions.As I understand it, this plug-i...
  • [XML] Mapping class to mulitple locations in a schema
  • Hi,We are trying to map a XML document to our Java Objects and have runacross a situation whereby we have a complex type declared in twolocations both of which map back to a collection.Namely our XML looks like so.<?xml version="1.0" encoding="UTF-8"?><master><transportation>&l...
  • [Gridsphere-users] Gridsphere Portal LDAP Authentication
  • Hi,We have a prototype LDAPAuthModule that can be used (Read more on our pluggable authentication mechanism at http://www.gridsphere.org/gridspher...et-auth)The LDAPAu...