cayambe-development Mailing List for Cayambe J2EE ECommerce
Status: Pre-Alpha
Brought to you by:
jlward4
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(235) |
Oct
(73) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
|
Feb
(2) |
Mar
(3) |
Apr
(2) |
May
(188) |
Jun
(9) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <no...@so...> - 2002-08-04 04:16:26
|
Feature Requests item #590678, was opened at 2002-08-04 04:16 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358195&aid=590678&group_id=8195 Category: architecture Group: None Status: Open Priority: 5 Submitted By: Joe Felchlin (felchlin) Assigned to: Nobody/Anonymous (nobody) Summary: Non-EJB persistence interface Initial Comment: Define a persistence interface and have a second non-EJB implementation. The implementation would be a direct JDBC database connection. This implementation has limitations (i.e. you have to re-implement the good stuff that comes with EJB like pooling, multi-threading, transactional support, etc.), but it opens the possibility to hosting in an environment without an EJB container (i.e. most commercial hosting companies). I was looking through the source, and I think this can be done fairly cleanly. P.S. I'm willing to implement this interface if you want help. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358195&aid=590678&group_id=8195 |
|
From: <dct...@ya...> - 2002-06-20 02:28:14
|
Mike, Thanks for the info. I used the struts.jar and tiles.jar files from the "Struts 1.1 beat 1" and was able to successfully compile. If I don't use the tiles.jar file, then the same compilation error appears as earlier. I think you have to update the deploy docs - to include the tiles.jar. My background : I have about 5 years of IT experience, working on Java(J2SE, J2ME, J2EE), C/C++, XML, Databases etc. Am working right now as Software Engineer in Singapore, involved in analysis, design, development activities. Let me know if I can contribute in some manner in this project. Dharmesh Talati --- Mik...@ao... wrote: > Do you have the newest version of Struts that > contains the tiles api? That looks like it may be > the problem. You can download this from the > jakarta.apache.org site. The version you want is > "Struts 1.1 Beta 1". > > I also noticed in your build that there are a bunch > of deprecation warnings. James, Jon, we need to get > rid of any calls to deprecated methods. > > Dharmesh, Can you tell us a bit about your > experience or interests so we can get you working on > something if you want to? > > > Mike Davis ________________________________________________________________________ Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!! visit http://in.autos.yahoo.com |
|
From: <Mik...@ao...> - 2002-06-19 14:12:24
|
Do you have the newest version of Struts that contains the tiles api? That looks like it may be the problem. You can download this from the jakarta.apache.org site. The version you want is "Struts 1.1 Beta 1". I also noticed in your build that there are a bunch of deprecation warnings. James, Jon, we need to get rid of any calls to deprecated methods. Dharmesh, Can you tell us a bit about your experience or interests so we can get you working on something if you want to? Mike Davis |
|
From: <dct...@ya...> - 2002-06-19 05:50:56
|
Hi
I am getting the following compilation error when I
tried to build the ear file, using todays CVS
snapshot.
Buildfile: build.xml
init:
compile:
[mkdir] Created dir:
F:\sourceforge_projects\cayambe\190602\core\build
[javac] Compiling 93 source files to
F:\sourceforge_projects\cayambe\190602\
core\build
[javac]
F:\sourceforge_projects\cayambe\190602\core\src\org\cayambe\web\cart
\action\CartActionServlet.java:3: Class
org.apache.struts.tiles.ActionComponentS
ervlet not found in import.
[javac] import
org.apache.struts.tiles.ActionComponentServlet;
[javac] ^
[javac]
F:\sourceforge_projects\cayambe\190602\core\src\org\cayambe\web\cart
\action\CartActionServlet.java:19: Superclass
org.apache.struts.tiles.ActionComp
onentServlet of class
org.cayambe.web.cart.action.CartActionServlet not
found.
[javac] public class CartActionServlet extends
ActionComponentServlet {
[javac] ^
[javac] Note: 37 files use or override a
deprecated API. Recompile with "-d
eprecation" for details.
[javac] 2 errors, 1 warning
BUILD FAILED
F:\sourceforge_projects\cayambe\190602\core\src\build.xml:28:
Compile failed, me
ssages should have been provided.
Total time: 6 seconds
Can somebody help?
Dharmesh Talati
________________________________________________________________________
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
visit http://in.autos.yahoo.com
|
|
From: James W. <ja...@fi...> - 2002-06-14 22:02:20
|
I just learned a new cvs command today: cvs diff filepath/filename will show you the difference between the cvs version of the file and your version of the file. Cool hu! Have fun, and keep the code coming. ;) -James |
|
From: <no...@so...> - 2002-06-12 19:45:01
|
Feature Requests item #568178, was opened at 2002-06-12 13:45 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=358195&aid=568178&group_id=8195 Category: architecture Group: None Status: Open Priority: 8 Submitted By: Mike Davis (mikeandtalisha) Assigned to: Nobody/Anonymous (nobody) Summary: configurable pipeline payment processing Initial Comment: I would like to see the payment processing portion of the checkout process be developed as a configurable pipline. I envision a xml config file for pipelines which defines the pipeline for different portions of the application. For the checkout portion of the application this would include, for a simple example, the following pipeline: 1) enter shipping information 2) enter billing information 3) enter payment information 4) approve all information 5) reciept or a more complex example: 1) enter shipping information for subset of products (loop until all products have shipping info associated) 2) enter coupon code 3) enter paymentinformation 4) if payment info does not cover full amount (ie. gift card) enter the rest of the payment information - loop until covered. 5) enter billing information for each payment type 6) approve all information 7) reciept 8) digital delivery The pipeline should allow different routing through the pipeline based on return codes. example: if coupon code from above example covers the full amount of purchase goto billing info, otherwise get more payment info. etc. We need to talk more about this obviously. If anyone has any comments we should hear them soon. This is a pretty imporntant part of this cart. MikeD ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=358195&aid=568178&group_id=8195 |
|
From: James W. <ja...@fi...> - 2002-06-10 00:31:23
|
Kim, I believe that Jon committed his build.xml on accident. This may become an option if Jon wants to make that so, but we won't make Jikes the standard. Thanks for spotting this. -James > -----Original Message----- > From: Kim Hamilton [mailto:kim...@ya...] > Sent: Sunday, June 09, 2002 3:03 PM > To: Cayambe > Subject: [Cayambe-development] jikes compiler >=20 > My latest build failed, which I traced to the > following addition to build.xml: >=20 > <property name=3D"build.compiler" value=3D"jikes"/> >=20 > Are we planning to use the jikes compiler from now on? > If so, (just out of curiosity) why is this compiler > preferable for our purposes? >=20 > Thanks, > Kim >=20 > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com >=20 > _______________________________________________________________ >=20 > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=3Dosdntextlink >=20 > _______________________________________________ > Cayambe-development mailing list > Cay...@li... > https://lists.sourceforge.net/lists/listinfo/cayambe-development |
|
From: Kim H. <kim...@ya...> - 2002-06-09 21:03:04
|
My latest build failed, which I traced to the following addition to build.xml: <property name="build.compiler" value="jikes"/> Are we planning to use the jikes compiler from now on? If so, (just out of curiosity) why is this compiler preferable for our purposes? Thanks, Kim __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |
|
From: James W. <ja...@fi...> - 2002-06-03 18:20:41
|
Read below...
Thanks for your help...
-James
> -----Original Message-----
> From: James Ward
> Sent: Sunday, May 26, 2002 9:29 AM
> To: cay...@li...
> Subject: [Cayambe-development] FW: org.cayambe.dao.CategoryDAO
>=20
> Thanks for your help Chris!
>=20
> I will look into some of this stuff when I get back to my office on
> Tuesday. In the mean time, maybe someone else can offer some answers.
> Thanks!
>=20
> -James
> We're gonna be big!
>=20
>=20
> -----Original Message-----
> From: Christian Mouttet [mailto:cmo...@we...]
> Sent: Sun 5/26/2002 8:43 AM
> To: James Ward
> Cc: md...@wa...; jo...@wa...
> Subject: org.cayambe.dao.CategoryDAO
> James,
>=20
> I'm started to write JUnit code for the dao classes for automated
> testing and to get familiar with existing code.
>=20
> I found a lot of violations against basic code conventions :-( e.g.
some
> method names, line length, etc. ...will fix them.
>=20
> Is the save method already finished? I thinks it's not because the
> INSERT statement in the case of id=3D=3D0 doesn't generate a new id.
Instead
> of that the DAO wants to save with id=3D=3D0 with the result of =
duplicate
ids.
The category_id is set to auto increment in mysql...
You can see in the sql string that the insert does not even insert the
id:
sqlString.append("insert into category");
sqlString.append("(name,header,visible,image) ");
If an id is set, then the an update will be made instead of an insert.
> Is 'SaveProductToCategory()' and 'RemoveProductsFromCategory()'
already
> in use? I would expect this funcionality in ProductDAO instead of
> CategoryDAO.
The SaveProductToCategory and RemoveProductsFromCategory methods
actually saves and remove the relationship between the Product and
Category, not the actual Product. I believe this is as good of a place
for this code as any.
=20
> Why is there getAllCategories(CategoryVO selectedCategory) without
using
> the selectedCategory in the code? What is the difference to the
> listCategories()? BTW: For what is category.visible and
product.visible
> used? Do the columns mean: Visible on the web interface?
I am not sure about the getAllCategories question... I do know that it
is used by the CategoryTreeTag class. Visible is specified for the web
interface.
=20
> At last: I'll improve the build.xml. It always cleans up before
> building. That's ineffective since ant can optimize the builing
process
> with compiling only the changed classes.
This is already done. Do a cvs update...
=20
> How do you think about that?
>=20
> Have a nice day!
>=20
> chris
>=20
>=20
>=20
>=20
>=20
> _______________________________________________________________
>=20
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>=20
> _______________________________________________
> Cayambe-development mailing list
> Cay...@li...
> https://lists.sourceforge.net/lists/listinfo/cayambe-development
|
|
From: Christopher S. <sn...@ca...> - 2002-06-01 09:08:53
|
There is a project on sourceforge that provides product recommendation's in real-time aimed at improving up-sell, cross-sell and stickiness. The technology is similar to that used at Amazon for recommending items that may be of interest to a user. There is lots of information and links on the home page, and some impressive results of studies that have been carried out showing how the engine increases profitability. Unfortunately, the engine is currently dependent on Oracle. Is this project of interest to cayambe users/developers? The project URL is http://sf.net/projects/dblens Chris. |
|
From: James W. <ja...@fi...> - 2002-05-26 15:29:17
|
Thanks for your help Chris! I will look into some of this stuff when I get back to my office on = Tuesday. In the mean time, maybe someone else can offer some answers. = Thanks! -James We're gonna be big! -----Original Message----- From: Christian Mouttet [mailto:cmo...@we...] Sent: Sun 5/26/2002 8:43 AM To: James Ward Cc: md...@wa...; jo...@wa... Subject: org.cayambe.dao.CategoryDAO James, I'm started to write JUnit code for the dao classes for automated=20 testing and to get familiar with existing code. I found a lot of violations against basic code conventions :-( e.g. some = method names, line length, etc. ...will fix them. Is the save method already finished? I thinks it's not because the=20 INSERT statement in the case of id=3D=3D0 doesn't generate a new id. = Instead=20 of that the DAO wants to save with id=3D=3D0 with the result of = duplicate ids. Is 'SaveProductToCategory()' and 'RemoveProductsFromCategory()' already=20 in use? I would expect this funcionality in ProductDAO instead of=20 CategoryDAO. Why is there getAllCategories(CategoryVO selectedCategory) without using = the selectedCategory in the code? What is the difference to the=20 listCategories()? BTW: For what is category.visible and product.visible=20 used? Do the columns mean: Visible on the web interface? At last: I'll improve the build.xml. It always cleans up before=20 building. That's ineffective since ant can optimize the builing process=20 with compiling only the changed classes. How do you think about that? Have a nice day! chris |
|
From: James W. <jl...@us...> - 2002-05-23 19:18:11
|
Update of /cvsroot/cayambe/CVSROOT
In directory usw-pr-cvs1:/tmp/cvs-serv3015
Modified Files:
loginfo
Log Message:
Moved CVS Commits to cayambe-cvs-commits mailing list
Index: loginfo
===================================================================
RCS file: /cvsroot/cayambe/CVSROOT/loginfo,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** loginfo 19 Sep 2001 17:10:25 -0000 1.2
--- loginfo 23 May 2002 19:18:07 -0000 1.3
***************
*** 25,27 ****
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
! DEFAULT $CVSROOT/CVSROOT/syncmail %{sVv} cay...@li...
--- 25,27 ----
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
! DEFAULT $CVSROOT/CVSROOT/syncmail %{sVv} cay...@li...
|
|
From: James W. <ja...@co...> - 2002-05-23 18:27:14
|
We now have a nightly tarball available in tar, gz, and zip formats. Check it out at: http://www.cayambe.org/nightly Have fun! -James |
|
From: Jon R. <jon...@us...> - 2002-05-22 20:46:42
|
Update of /cvsroot/cayambe/core/docroot/admin/WEB-INF
In directory usw-pr-cvs1:/tmp/cvs-serv9051/docroot/admin/WEB-INF
Modified Files:
struts-config.xml tileDefinitions.xml
Log Message:
Update admin stuff...
Index: struts-config.xml
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/WEB-INF/struts-config.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** struts-config.xml 20 May 2002 18:13:15 -0000 1.12
--- struts-config.xml 22 May 2002 20:46:39 -0000 1.13
***************
*** 101,106 ****
type="org.cayambe.web.admin.action.UpdateCategoryAction"
scope="request"
! input="/UpdateCategoryForm.jsp"
validate="true">
<forward name="success" path="/BrowseCatalogIndex.jsp"/>
</action>
--- 101,107 ----
type="org.cayambe.web.admin.action.UpdateCategoryAction"
scope="request"
! input="/EditCategoryIndex.jsp"
validate="true">
+ <!-- input="/UpdateCategoryForm.jsp" -->
<forward name="success" path="/BrowseCatalogIndex.jsp"/>
</action>
***************
*** 147,150 ****
--- 148,159 ----
validate="false">
<forward name="success" path="/ListProductForCategoryIndex.jsp"/>
+ </action>
+
+ <action path="/SearchProductForAddingToCategory"
+ type="org.cayambe.web.admin.action.SearchProductForCategoryAction"
+ name="CategoryForm"
+ scope="request"
+ validate="false">
+ <forward name="success" path="/SearchProductForAddingToCategoryIndex.jsp"/>
</action>
Index: tileDefinitions.xml
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/WEB-INF/tileDefinitions.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** tileDefinitions.xml 20 May 2002 18:13:15 -0000 1.2
--- tileDefinitions.xml 22 May 2002 20:46:39 -0000 1.3
***************
*** 43,46 ****
--- 43,61 ----
</definition>
+
+ <definition name="SearchProductForAddingToCategory" extends="AdminHome">
+ <put name="Body" value="SearchProductForAddingToCategoryBody" />
+ </definition>
+
+ <definition name="SearchProductForAddingToCategoryBody" extends="BrowseCatalogBody">
+ <put name="ManageCategoryBody" value="SearchProductForAddingToCategory.jsp" />
+ </definition>
+
+
+ <definition name="Error" extends="AdminHome">
+ <put name="Body" value="Error.jsp" />
+ </definition>
+
+
<definition name="ListProductForCategory" extends="AdminHome">
<put name="Body" value="ListProductForCategoryBody" />
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:46:42
|
Update of /cvsroot/cayambe/core/docroot/admin
In directory usw-pr-cvs1:/tmp/cvs-serv9051/docroot/admin
Modified Files:
AddProductsToCategory.jsp BrowseCatalogBodyLayout.jsp
ListProductForAddingToCategoryIndex.jsp ListProducts.jsp
ManageCategoryHeader.jsp UpdateCategoryForm.jsp
UpdateProductForm.jsp
Added Files:
Error.jsp ErrorIndex.jsp SearchProductForAddingToCategory.jsp
SearchProductForAddingToCategoryIndex.jsp
Log Message:
Update admin stuff...
--- NEW FILE: Error.jsp ---
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<h3>Problem encounter processing your request.</h3>
<html:errors/>
--- NEW FILE: ErrorIndex.jsp ---
<%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>
<tiles:insert definition="Error" flush="true" />
--- NEW FILE: SearchProductForAddingToCategory.jsp ---
<%@ page import="org.cayambe.web.admin.action.*" %>
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
<center>
<h3>Search For Product Adding to Category</h3>
<form:form action="ListProductForAddingToCategory.do">
<table border="0" width="100%">
<form:hidden property="categoryId"/>
<tr>
<th align="right">
SKU Search String:
</th>
<td align="left">
<form:text name="productVO" property="SKU" size="20"/>
</td>
</tr>
<tr>
<th align="right">
Title Search String:
</th>
<td align="left">
<form:text name="productVO" property="title" size="30"/>
</td>
</tr>
<tr>
<th align="right">
Desc Search String:
</th>
<td align="left">
<form:text name="productVO" property="desc" size="30"/>
</td>
</tr>
<tr>
<td align="right">
<form:submit property="submit" value="Submit"/>
</td>
<td align="left">
<form:reset/>
</td>
</tr>
</table>
</form:form>
--- NEW FILE: SearchProductForAddingToCategoryIndex.jsp ---
<%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>
<tiles:insert definition="SearchProductForAddingToCategory" flush="true" />
Index: AddProductsToCategory.jsp
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/AddProductsToCategory.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AddProductsToCategory.jsp 16 May 2002 23:18:40 -0000 1.6
--- AddProductsToCategory.jsp 22 May 2002 20:46:39 -0000 1.7
***************
*** 32,38 ****
<tr>
! <td align="right">
<form:submit property="submit" value="Submit"/>
- <form:reset/>
</td>
</tr>
--- 32,37 ----
<tr>
! <td align="center" colspan=3>
<form:submit property="submit" value="Submit"/>
</td>
</tr>
Index: BrowseCatalogBodyLayout.jsp
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/BrowseCatalogBodyLayout.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** BrowseCatalogBodyLayout.jsp 20 May 2002 18:13:13 -0000 1.2
--- BrowseCatalogBodyLayout.jsp 22 May 2002 20:46:39 -0000 1.3
***************
*** 3,11 ****
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
! <td rowspan=2 valign=top><tiles:insert attribute='CategoryList'/></td>
! <td><tiles:insert attribute='ManageCategoryHeader'/></td>
! </tr>
! <tr>
! <td><tiles:insert attribute='ManageCategoryBody'/></td>
</tr>
</table>
--- 3,13 ----
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
! <td rowspan=2 valign=top width="200">
! <tiles:insert attribute='CategoryList'/>
! </td>
! <td><tiles:insert attribute='ManageCategoryHeader'/></td>
! </tr>
! <tr>
! <td align=center width="500"><tiles:insert attribute='ManageCategoryBody'/></td>
</tr>
</table>
Index: ListProductForAddingToCategoryIndex.jsp
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/ListProductForAddingToCategoryIndex.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ListProductForAddingToCategoryIndex.jsp 20 May 2002 18:13:14 -0000 1.1
--- ListProductForAddingToCategoryIndex.jsp 22 May 2002 20:46:39 -0000 1.2
***************
*** 1,3 ****
--- 1,4 ----
<%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>
+ <center>
<tiles:insert definition="ListProductForAddingToCategory" flush="true" />
Index: ListProducts.jsp
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/ListProducts.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ListProducts.jsp 16 May 2002 23:18:40 -0000 1.6
--- ListProducts.jsp 22 May 2002 20:46:39 -0000 1.7
***************
*** 6,10 ****
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
!
<h3>Product List</h3>
<table border=1>
--- 6,10 ----
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
! <center>
<h3>Product List</h3>
<table border=1>
Index: ManageCategoryHeader.jsp
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/ManageCategoryHeader.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ManageCategoryHeader.jsp 16 May 2002 23:18:40 -0000 1.3
--- ManageCategoryHeader.jsp 22 May 2002 20:46:39 -0000 1.4
***************
*** 15,37 ****
<td CLASS="small" align="center">
! <html:link page="/NewCategory.do?manageCategoryPage=AddSubCategoryForm.jsp"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Add Sub Category</html:link> -
! <html:link page="/EditCategory.do?manageCategoryPage=UpdateCategoryForm.jsp"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Edit</html:link> -
! <html:link page="/RemoveCategory.do"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Remove</html:link> -
! <html:link page="/ListProductForAddingToCategory.do?manageCategoryPage=AddProductsToCategory.jsp"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Add Product</html:link> -
! <html:link page="/ListProductForCategory.do?manageCategoryPage=CategoryListProduct.jsp"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">List Product</html:link>
</td>
--- 15,38 ----
<td CLASS="small" align="center">
!
! [ <html:link page="/NewCategory.do?manageCategoryPage=AddSubCategoryForm.jsp"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Add Sub Category</html:link> ]
! [ <html:link page="/EditCategory.do?manageCategoryPage=UpdateCategoryForm.jsp"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Edit</html:link> ]
! [ <html:link page="/RemoveCategory.do"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Remove</html:link> ]
! [ <html:link page="/SearchProductForAddingToCategory.do"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">Add Product</html:link> ]
! [ <html:link page="/ListProductForCategory.do?manageCategoryPage=CategoryListProduct.jsp"
paramId="categoryId" paramName="CategoryForm" paramProperty="categoryId"
! styleClass="normal">List Product</html:link> ]
</td>
Index: UpdateCategoryForm.jsp
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/UpdateCategoryForm.jsp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** UpdateCategoryForm.jsp 20 May 2002 18:13:14 -0000 1.6
--- UpdateCategoryForm.jsp 22 May 2002 20:46:39 -0000 1.7
***************
*** 9,15 ****
<center>
- <h3>Errors:
<html:errors/>
! </h3>
<form:form name="CategoryForm" type="org.cayambe.web.admin.action.CategoryActionForm" action="UpdateCategory.do" scope="request">
--- 9,15 ----
<center>
<html:errors/>
! <%-- <html:errors property="categoryName"/> --%>
!
<form:form name="CategoryForm" type="org.cayambe.web.admin.action.CategoryActionForm" action="UpdateCategory.do" scope="request">
Index: UpdateProductForm.jsp
===================================================================
RCS file: /cvsroot/cayambe/core/docroot/admin/UpdateProductForm.jsp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** UpdateProductForm.jsp 20 May 2002 16:25:18 -0000 1.7
--- UpdateProductForm.jsp 22 May 2002 20:46:39 -0000 1.8
***************
*** 5,9 ****
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
! <h6>errors: <html:errors /></h6>
<form:form name="ProductForm"
--- 5,9 ----
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
! <html:errors />
<form:form name="ProductForm"
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src/org/cayambe/ejb
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/org/cayambe/ejb
Modified Files:
CategoryFacadeSession.java ProductFacade.java
ProductFacadeSession.java
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
Index: CategoryFacadeSession.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/ejb/CategoryFacadeSession.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** CategoryFacadeSession.java 17 May 2002 22:23:15 -0000 1.7
--- CategoryFacadeSession.java 22 May 2002 20:45:41 -0000 1.8
***************
*** 23,28 ****
private CategoryListHandler listHandler;
private CategoryDAO categoryDAO;
! private static String CLASSNAME = CategoryFacadeSession.class.getName();
! private Category cat = (Category)Category.getInstance(CLASSNAME);
/**
--- 23,29 ----
private CategoryListHandler listHandler;
private CategoryDAO categoryDAO;
!
! private static String CLASSNAME = CategoryFacadeSession.class.getName();
! private Category cat;
/**
***************
*** 64,78 ****
Hashtable categories = getListHandler().getCategoryDAO().getAllCategories(selected);
! cat.debug("selected.getName() = " + selected.getName());
Enumeration enum = categories.elements();
while( enum.hasMoreElements() ){
CategoryVO current = (CategoryVO)enum.nextElement();
! cat.debug("current.getName() = " + current.getName());
! cat.debug("current.getParentId() = " + current.getParentId());
if( ! current.getParentId().equals( selected.get ) ){
CategoryVO parentOfCurrent = (CategoryVO)categories.get( current.getParentId() );
parentOfCurrent.addChild( current );
! cat.debug("parentOfCurrent.getName() = " + parentOfCurrent.getName());
}
}
--- 65,79 ----
Hashtable categories = getListHandler().getCategoryDAO().getAllCategories(selected);
! getCategoryLogger().debug("selected.getName() = " + selected.getName());
Enumeration enum = categories.elements();
while( enum.hasMoreElements() ){
CategoryVO current = (CategoryVO)enum.nextElement();
! getCategoryLogger().debug("current.getName() = " + current.getName());
! getCategoryLogger().debug("current.getParentId() = " + current.getParentId());
if( ! current.getParentId().equals( selected.get ) ){
CategoryVO parentOfCurrent = (CategoryVO)categories.get( current.getParentId() );
parentOfCurrent.addChild( current );
! getCategoryLogger().debug("parentOfCurrent.getName() = " + parentOfCurrent.getName());
}
}
***************
*** 133,136 ****
--- 134,145 ----
return listHandler;
}
+
+ private Category getCategoryLogger()
+ {
+ if( cat == null ){
+ cat = (Category)Category.getInstance(CLASSNAME);
+ }
+ return cat;
+ }
/**
***************
*** 163,166 ****
--- 172,176 ----
categoryDAO = null;
listHandler = null;
+ cat = null;
}
Index: ProductFacade.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/ejb/ProductFacade.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ProductFacade.java 28 Sep 2001 05:31:32 -0000 1.10
--- ProductFacade.java 22 May 2002 20:45:41 -0000 1.11
***************
*** 31,36 ****
throws RemoteException /*, ProductException */;
! public List SearchProductNotInCategory(CategoryVO c) //throws ProductException
! throws RemoteException /*, ProductException */;
!
! }
--- 31,33 ----
throws RemoteException /*, ProductException */;
! }
\ No newline at end of file
Index: ProductFacadeSession.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/ejb/ProductFacadeSession.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** ProductFacadeSession.java 16 May 2002 20:23:37 -0000 1.14
--- ProductFacadeSession.java 22 May 2002 20:45:41 -0000 1.15
***************
*** 24,28 ****
private ProductDAO productDAO;
! private static String CLASSNAME = ProductFacadeSession.class.getName();
private Category cat;
--- 24,28 ----
private ProductDAO productDAO;
! private static String CLASSNAME = CategoryFacadeSession.class.getName();
private Category cat;
***************
*** 31,40 ****
*/
public ProductFacadeSession() {
}
public List getProductList() //throws ProductException
{
- getCategoryLogger().debug("ProductSessionFacade.getProductList(): size: "
- + getListHandler().getProductList().size());
return getListHandler().getProductList();
}
--- 31,39 ----
*/
public ProductFacadeSession() {
+ getCategoryLogger().debug("create instance");
}
public List getProductList() //throws ProductException
{
return getListHandler().getProductList();
}
***************
*** 47,57 ****
public void SearchProduct(ProductVO p) //throws ProductException
! {
! getListHandler().SearchProduct(p);
! }
!
! public List SearchProductNotInCategory(CategoryVO c) //throws ProductException
! {
! return (List)getProductDAO().SearchProductNotInCategory(c);
}
--- 46,58 ----
public void SearchProduct(ProductVO p) //throws ProductException
! {
! try
! {
! getListHandler().SearchProduct(p);
! }
! catch (Exception e)
! {
! getCategoryLogger().debug("<-><->" + e.getMessage());
! }
}
***************
*** 86,90 ****
return productDAO;
}
!
private Category getCategoryLogger()
{
--- 87,91 ----
return productDAO;
}
!
private Category getCategoryLogger()
{
***************
*** 94,97 ****
--- 95,99 ----
return cat;
}
+
/**
***************
*** 123,127 ****
productDAO = null;
listHandler = null;
! cat = null;
}
--- 125,129 ----
productDAO = null;
listHandler = null;
! cat = null;
}
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src/org/cayambe/core
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/org/cayambe/core
Modified Files:
CategoryVO.java CayambeTreeNode.java ProductVO.java
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
Index: CategoryVO.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/core/CategoryVO.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** CategoryVO.java 16 May 2002 20:23:37 -0000 1.11
--- CategoryVO.java 22 May 2002 20:45:41 -0000 1.12
***************
*** 137,141 ****
sb.append("\nCategoryVO {");
sb.append("\n\tId: " + id);
! sb.append("\n\tName: " + name);
sb.append("\n}");
return sb.toString();
--- 137,143 ----
sb.append("\nCategoryVO {");
sb.append("\n\tId: " + id);
! sb.append("\n\tParent Id: " + parentId);
! sb.append("\n\tName: " + name);
! sb.append("\n\tHeader: " + header);
sb.append("\n}");
return sb.toString();
Index: CayambeTreeNode.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/core/CayambeTreeNode.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CayambeTreeNode.java 21 Oct 2001 08:12:51 -0000 1.1
--- CayambeTreeNode.java 22 May 2002 20:45:41 -0000 1.2
***************
*** 29,32 ****
! }
!
--- 29,31 ----
! }
\ No newline at end of file
Index: ProductVO.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/core/ProductVO.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ProductVO.java 7 May 2002 20:08:10 -0000 1.15
--- ProductVO.java 22 May 2002 20:45:41 -0000 1.16
***************
*** 2,12 ****
import java.io.Serializable;
! import org.cayambe.util.DollarFormat;
! //import org.cayambe.web.action.ProductActionForm;
public class ProductVO implements Serializable
{
!
! DollarFormat df = new DollarFormat();
private String productId = "0";
--- 2,15 ----
import java.io.Serializable;
! import java.text.NumberFormat;
! import java.util.Locale;
! //import org.cayambe.util.CayambeProperties;
public class ProductVO implements Serializable
{
!
! public ProductVO ()
! {
! }
private String productId = "0";
***************
*** 31,37 ****
public double getPrice() { return (this.price); }
! public void setPrice(double _price) { this.price = _price; }
! public String getDollarPrice() { return (df.getDollarFormat(price)); }
!
public String getImage() { return (this.image); }
--- 34,42 ----
public double getPrice() { return (this.price); }
! public void setPrice(double _price) { this.price = _price; }
! public String getDollarPrice() {
! NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US);
! return (nf.format(price));
! }
public String getImage() { return (this.image); }
***************
*** 43,47 ****
public double getSalePrice() { return (this.salePrice); }
public void setSalePrice(double _salePrice) { this.salePrice = _salePrice; }
! public String getDollarSalePrice() { return (df.getDollarFormat(salePrice)); }
public boolean isOnSale() { return onSale; }
--- 48,55 ----
public double getSalePrice() { return (this.salePrice); }
public void setSalePrice(double _salePrice) { this.salePrice = _salePrice; }
! public String getDollarSalePrice() {
! NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US);
! return (nf.format(salePrice));
! }
public boolean isOnSale() { return onSale; }
***************
*** 84,86 ****
}
! }
--- 92,95 ----
}
!
! }
\ No newline at end of file
|
Update of /cvsroot/cayambe/core/src/org/cayambe/web/admin/action
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/org/cayambe/web/admin/action
Modified Files:
AddNewProductAction.java AddProductToCategoryAction.java
AddSubCategoryAction.java CategoryActionForm.java
EditCategoryAction.java EditProductAction.java
ListCategoriesAction.java
ListProductForAddingToCategoryAction.java
ListProductForCategoryAction.java ListProductsAction.java
ManageInventoryAction.java NewCategoryAction.java
ProductActionForm.java RemoveCategoryAction.java
RemoveProductAction.java SearchInventoryAction.java
SearchProductAction.java UpdateCategoryAction.java
UpdateProductToCategoryAction.java ViewProductAction.java
Added Files:
SearchProductForCategoryAction.java
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
--- NEW FILE: SearchProductForCategoryAction.java ---
/*
* SearchProduct.java
*
* Created on September 22, 2001, 1:31 AM
*/
package org.cayambe.web.admin.action;
/**
*
* @author jon rose
* @version
*/
import java.io.IOException;
import java.util.Hashtable;
import java.util.Locale;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionServlet;
import org.apache.struts.util.MessageResources;
import org.cayambe.core.ProductVO;
import org.cayambe.util.CayambeActionMappings;
import org.apache.log4j.Category;
public final class SearchProductForCategoryAction extends Action {
private static String CLASSNAME = SearchProductForCategoryAction.class.getName();
private Category cat = (Category)Category.getInstance(CLASSNAME);
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
String worked = CayambeActionMappings.SUCCESS;
ListCategoriesAction lca = new ListCategoriesAction();
lca.ProcessRequest( form, request);
ProductVO productVO = new ProductVO();
request.setAttribute("productVO",productVO);
return (mapping.findForward(worked));
}
}
Index: AddNewProductAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/AddNewProductAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AddNewProductAction.java 16 May 2002 20:23:37 -0000 1.2
--- AddNewProductAction.java 22 May 2002 20:45:41 -0000 1.3
***************
*** 22,25 ****
--- 22,26 ----
import org.apache.struts.action.ActionServlet;
import org.apache.struts.util.MessageResources;
+ import org.cayambe.util.CayambeActionMappings;
public final class AddNewProductAction extends Action {
***************
*** 29,35 ****
HttpServletResponse response)
throws IOException, ServletException {
!
! String worked = "success";
! return (mapping.findForward(worked));
}
--- 30,36 ----
HttpServletResponse response)
throws IOException, ServletException {
!
! String forwardMapping = CayambeActionMappings.SUCCESS;
! return (mapping.findForward(forwardMapping));
}
Index: AddProductToCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/AddProductToCategoryAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AddProductToCategoryAction.java 16 May 2002 20:23:37 -0000 1.2
--- AddProductToCategoryAction.java 22 May 2002 20:45:41 -0000 1.3
***************
*** 26,29 ****
--- 26,30 ----
import org.cayambe.core.CategoryVO;
import org.cayambe.core.ProductVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.client.ManageInventoryDelegate;
import org.cayambe.client.ProductDelegate;
***************
*** 41,45 ****
ListCategoriesAction lca = new ListCategoriesAction();
! String worked = "success";
try {
CategoryVO c = new CategoryVO();
--- 42,46 ----
ListCategoriesAction lca = new ListCategoriesAction();
! String worked = CayambeActionMappings.SUCCESS;
try {
CategoryVO c = new CategoryVO();
Index: AddSubCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/AddSubCategoryAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** AddSubCategoryAction.java 16 May 2002 20:23:37 -0000 1.1
--- AddSubCategoryAction.java 22 May 2002 20:45:41 -0000 1.2
***************
*** 30,33 ****
--- 30,34 ----
import org.apache.struts.util.MessageResources;
import org.cayambe.core.CategoryVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.web.admin.action.CategoryActionForm;
import org.cayambe.client.ManageInventoryDelegate;
***************
*** 43,46 ****
--- 44,49 ----
throws IOException, ServletException {
+ String worked = CayambeActionMappings.SUCCESS;
+
ListCategoriesAction lca = new ListCategoriesAction();
***************
*** 55,61 ****
c.setHeader(caf.getHeader());
- String worked = "success";
try {
! ManageInventoryDelegate mid = new ManageInventoryDelegate();
mid.UpdateCategory(c);
cat.debug(c.toString());
--- 58,64 ----
c.setHeader(caf.getHeader());
try {
! cat.debug("SAVE CATEGORY");
! ManageInventoryDelegate mid = new ManageInventoryDelegate();
mid.UpdateCategory(c);
cat.debug(c.toString());
Index: CategoryActionForm.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/CategoryActionForm.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CategoryActionForm.java 20 May 2002 18:13:51 -0000 1.5
--- CategoryActionForm.java 22 May 2002 20:45:41 -0000 1.6
***************
*** 68,77 ****
public void setForm(CategoryVO c) {
! setCategoryId(c.getId().toString());
! setParentId(c.getParentId().toString());
! setName(c.getName());
! setHeader(c.getHeader());
! setImagePath(c.getImagePath());
! setSelected(c.isSelected());
}
--- 68,88 ----
public void setForm(CategoryVO c) {
! setCategoryId(c.getId().toString());
! setParentId(c.getParentId().toString());
! setName(c.getName());
! setHeader(c.getHeader());
! setImagePath(c.getImagePath());
! setSelected(c.isSelected());
! }
!
! public CategoryVO toVO() {
! CategoryVO c = new CategoryVO();
! c.setId(new Long(getCategoryId()));
! c.setParentId(new Long(getParentId()));
! c.setName(getName());
! c.setHeader(getHeader());
! c.setImagePath(getImagePath());
! c.setSelected(isSelected());
! return c;
}
***************
*** 91,95 ****
HttpServletRequest request) {
! cat.debug("VALIDATING CategoryActionForm");
ActionErrors errors = new ActionErrors();
--- 102,106 ----
HttpServletRequest request) {
! cat.debug("VALIDATING: CategoryActionForm");
ActionErrors errors = new ActionErrors();
***************
*** 105,107 ****
}
! }
--- 116,118 ----
}
! }
\ No newline at end of file
Index: EditCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/EditCategoryAction.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** EditCategoryAction.java 20 May 2002 16:27:09 -0000 1.6
--- EditCategoryAction.java 22 May 2002 20:45:41 -0000 1.7
***************
*** 31,34 ****
--- 31,35 ----
import org.cayambe.web.admin.action.CategoryActionForm;
import org.cayambe.core.CategoryVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.client.CategoryDelegate;
import org.apache.log4j.Category;
***************
*** 42,50 ****
HttpServletResponse response)
throws IOException, ServletException {
ListCategoriesAction lca = new ListCategoriesAction();
lca.ProcessRequest( form, request );
- String worked = "success";
try {
CategoryActionForm caf = (CategoryActionForm)form;
--- 43,52 ----
HttpServletResponse response)
throws IOException, ServletException {
+
+ String worked = CayambeActionMappings.SUCCESS;
ListCategoriesAction lca = new ListCategoriesAction();
lca.ProcessRequest( form, request );
try {
CategoryActionForm caf = (CategoryActionForm)form;
Index: EditProductAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/EditProductAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EditProductAction.java 16 May 2002 23:19:30 -0000 1.5
--- EditProductAction.java 22 May 2002 20:45:41 -0000 1.6
***************
*** 25,28 ****
--- 25,29 ----
import org.cayambe.web.admin.action.ProductActionForm;
import org.cayambe.core.ProductVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.client.ProductDelegate;
import org.apache.log4j.Category;
***************
*** 37,43 ****
throws IOException, ServletException {
ProductActionForm paf = (ProductActionForm)form;
- String worked = "success";
try {
ProductVO p;
--- 38,45 ----
throws IOException, ServletException {
+ String worked = CayambeActionMappings.SUCCESS;
+
ProductActionForm paf = (ProductActionForm)form;
try {
ProductVO p;
Index: ListCategoriesAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/ListCategoriesAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ListCategoriesAction.java 16 May 2002 23:19:30 -0000 1.5
--- ListCategoriesAction.java 22 May 2002 20:45:41 -0000 1.6
***************
*** 52,56 ****
//lookup all of the categories, parentId may be null
! String categoryId = caf.getCategoryId();
if( categoryId == null || categoryId.length() < 1 ){
categoryId = "0";
--- 52,56 ----
//lookup all of the categories, parentId may be null
! String categoryId = caf.getCategoryId();
if( categoryId == null || categoryId.length() < 1 ){
categoryId = "0";
Index: ListProductForAddingToCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/ListProductForAddingToCategoryAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ListProductForAddingToCategoryAction.java 16 May 2002 20:23:37 -0000 1.2
--- ListProductForAddingToCategoryAction.java 22 May 2002 20:45:41 -0000 1.3
***************
*** 31,36 ****
import org.apache.struts.action.ActionServlet;
import org.apache.struts.util.MessageResources;
! import org.cayambe.core.CategoryVO;
import org.cayambe.client.ProductDelegate;
import org.apache.log4j.Category;
--- 31,37 ----
import org.apache.struts.action.ActionServlet;
import org.apache.struts.util.MessageResources;
! import org.cayambe.core.ProductVO;
import org.cayambe.client.ProductDelegate;
+ import org.cayambe.util.CayambeActionMappings;
import org.apache.log4j.Category;
***************
*** 44,67 ****
throws IOException, ServletException {
! ListCategoriesAction lca = new ListCategoriesAction();
! lca.ProcessRequest( form, request );
!
! CategoryActionForm categoryActionForm = (CategoryActionForm)form;
! CategoryVO c = new CategoryVO();
! c.setId(new Long(categoryActionForm.getCategoryId()));
! List list = null;
! List categoryList = null;
! String worked = "success";
try {
! ProductDelegate pd = new ProductDelegate();
! list = pd.SearchProductNotInCategory(c);
} catch (Exception e){
cat.info(e.getMessage());
}
! request.setAttribute("categoryId",categoryActionForm.getCategoryId());
! request.setAttribute("products",list);
return (mapping.findForward(worked));
--- 45,67 ----
throws IOException, ServletException {
! String worked = CayambeActionMappings.SUCCESS;
! ProductVO p = new ProductVO();
! p.setTitle(request.getParameter("title"));
! p.setSKU(request.getParameter("SKU"));
! p.setDesc(request.getParameter("desc"));
!
! ProductDelegate pd = new ProductDelegate();
try {
! pd.SearchProduct(p);
} catch (Exception e){
cat.info(e.getMessage());
}
! request.setAttribute("products",pd.getProductList());
!
! ListCategoriesAction lca = new ListCategoriesAction();
! lca.ProcessRequest( form, request );
return (mapping.findForward(worked));
***************
*** 69,71 ****
}
! }
--- 69,71 ----
}
! }
\ No newline at end of file
Index: ListProductForCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/ListProductForCategoryAction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ListProductForCategoryAction.java 16 May 2002 20:23:37 -0000 1.4
--- ListProductForCategoryAction.java 22 May 2002 20:45:41 -0000 1.5
***************
*** 35,38 ****
--- 35,39 ----
import org.cayambe.client.ProductDelegate;
import org.cayambe.client.CategoryDelegate;
+ import org.cayambe.util.CayambeActionMappings;
import org.apache.log4j.Category;
***************
*** 48,52 ****
ListCategoriesAction lca = new ListCategoriesAction();
lca.ProcessRequest( form, request );
! String worked = "success";
try {
CategoryVO c = new CategoryVO();
--- 49,53 ----
ListCategoriesAction lca = new ListCategoriesAction();
lca.ProcessRequest( form, request );
! String worked = CayambeActionMappings.SUCCESS;
try {
CategoryVO c = new CategoryVO();
Index: ListProductsAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/ListProductsAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ListProductsAction.java 6 May 2002 21:42:25 -0000 1.1
--- ListProductsAction.java 22 May 2002 20:45:41 -0000 1.2
***************
*** 31,34 ****
--- 31,35 ----
import org.apache.struts.util.MessageResources;
import org.cayambe.core.ProductVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.client.ProductDelegate;
import java.util.*;
***************
*** 40,61 ****
private Category cat = (Category)Category.getInstance(CLASSNAME);
- // --------------------------------------------------------- Public Methods
-
-
- /**
- * Process the specified HTTP request, and create the corresponding HTTP
- * response (or forward to another web component that will create it).
- * Return an <code>ActionForward</code> instance describing where and how
- * control should be forwarded, or <code>null</code> if the response has
- * already been completed.
- *
- * @param mapping The ActionMapping used to select this instance
- * @param actionForm The optional ActionForm bean for this request (if any)
- * @param request The HTTP request we are processing
- * @param response The HTTP response we are creating
- *
- * @exception IOException if an input/output error occurs
- * @exception ServletException if a servlet exception occurs
- */
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
--- 41,44 ----
***************
*** 63,83 ****
throws IOException, ServletException {
! List list = null;
! String worked = "success";
ProductVO p = new ProductVO();
! p.setTitle("");
! p.setDesc("");
! p.setSKU("");
! try {
! ProductDelegate pd = new ProductDelegate();
! pd.SearchProduct(p);
! list = pd.getProductList();
! } catch (Exception e){
! cat.info(e.getMessage());
! }
! request.setAttribute("products",list);
return (mapping.findForward(worked));
--- 46,65 ----
throws IOException, ServletException {
! String worked = CayambeActionMappings.SUCCESS;
ProductVO p = new ProductVO();
! p.setTitle("%");
! p.setDesc("%");
! p.setSKU("%");
! ProductDelegate pd = new ProductDelegate();
! try {
! pd.SearchProduct(p);
! } catch (Exception e){
! cat.info(e.getMessage());
! }
!
! request.setAttribute("products",pd.getProductList());
return (mapping.findForward(worked));
***************
*** 85,88 ****
}
!
! }
--- 67,69 ----
}
! }
\ No newline at end of file
Index: ManageInventoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/ManageInventoryAction.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ManageInventoryAction.java 16 May 2002 23:19:30 -0000 1.6
--- ManageInventoryAction.java 22 May 2002 20:45:41 -0000 1.7
***************
*** 25,28 ****
--- 25,29 ----
import org.cayambe.web.admin.action.ProductActionForm;
import org.cayambe.core.ProductVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.client.ManageInventoryDelegate;
import org.apache.log4j.Category;
***************
*** 37,53 ****
throws IOException, ServletException {
! String worked = "success";
ProductActionForm miForm = (ProductActionForm)form;
ProductVO p = new ProductVO();
! p.setProductId(miForm.getProductId());
! p.setTitle(miForm.getTitle());
! p.setDesc(miForm.getDesc());
! p.setPrice(miForm.getPrice());
! p.setImage(miForm.getImage());
! p.setSKU(miForm.getSKU());
! p.setSalePrice(miForm.getSalePrice());
! p.setOnSale(miForm.isOnSale());
! p.setVisible(miForm.isVisible());
request.setAttribute("product", p);
--- 38,46 ----
throws IOException, ServletException {
! String worked = CayambeActionMappings.SUCCESS;
ProductActionForm miForm = (ProductActionForm)form;
ProductVO p = new ProductVO();
! p = miForm.toVO();
request.setAttribute("product", p);
Index: NewCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/NewCategoryAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** NewCategoryAction.java 16 May 2002 20:23:37 -0000 1.3
--- NewCategoryAction.java 22 May 2002 20:45:41 -0000 1.4
***************
*** 30,33 ****
--- 30,34 ----
import org.apache.struts.util.MessageResources;
import org.cayambe.core.CategoryVO;
+ import org.cayambe.util.CayambeActionMappings;
public final class NewCategoryAction extends Action {
***************
*** 38,41 ****
--- 39,44 ----
throws IOException, ServletException {
+ String worked = CayambeActionMappings.SUCCESS;
+
CategoryActionForm caf = (CategoryActionForm)form;
CategoryVO categoryVO = new CategoryVO();
***************
*** 46,50 ****
lca.ProcessRequest( form, request);
- String worked = "success";
return (mapping.findForward(worked));
--- 49,52 ----
Index: ProductActionForm.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/ProductActionForm.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ProductActionForm.java 16 May 2002 23:19:30 -0000 1.3
--- ProductActionForm.java 22 May 2002 20:45:41 -0000 1.4
***************
*** 18,22 ****
import org.apache.struts.action.ActionMapping;
import org.cayambe.core.ProductVO;
! import org.cayambe.util.DollarFormat;
--- 18,24 ----
import org.apache.struts.action.ActionMapping;
import org.cayambe.core.ProductVO;
! import java.text.NumberFormat;
! import java.util.Locale;
! import org.cayambe.util.CayambeProperties;
***************
*** 25,29 ****
// --------------------------------------------------- Instance Variables
! DollarFormat df = new DollarFormat();
private String productId = null;
--- 27,31 ----
// --------------------------------------------------- Instance Variables
! NumberFormat nf = NumberFormat.getCurrencyInstance(CayambeProperties.LOCAL);
private String productId = null;
***************
*** 51,55 ****
public double getPrice() { return (this.price); }
public void setPrice(double _price) { this.price = _price; }
! public String getDollarPrice() { return (df.getDollarFormat(price)); }
public String getImage() { return (this.image); }
--- 53,57 ----
public double getPrice() { return (this.price); }
public void setPrice(double _price) { this.price = _price; }
! public String getDollarPrice() { return (nf.format(price)); }
public String getImage() { return (this.image); }
***************
*** 61,65 ****
public double getSalePrice() { return (this.salePrice); }
public void setSalePrice(double _salePrice) { this.salePrice = _salePrice; }
! public String getDollarSalePrice() { return (df.getDollarFormat(salePrice)); }
public boolean isOnSale() { return (this.onSale); }
--- 63,67 ----
public double getSalePrice() { return (this.salePrice); }
public void setSalePrice(double _salePrice) { this.salePrice = _salePrice; }
! public String getDollarSalePrice() { return (nf.format(salePrice)); }
public boolean isOnSale() { return (this.onSale); }
***************
*** 76,89 ****
*/
public void setForm(ProductVO p) {
! setProductId(p.getProductId());
! setTitle(p.getTitle());
! setDesc(p.getDesc());
! setPrice(p.getPrice());
! setImage(p.getImage());
! setSKU(p.getSKU());
! setSalePrice(p.getSalePrice());
! setOnSale(p.isOnSale());
! setVisible(p.isVisible());
}
public void reset(ActionMapping mapping, HttpServletRequest request) {
--- 78,105 ----
*/
public void setForm(ProductVO p) {
! setProductId(p.getProductId());
! setTitle(p.getTitle());
! setDesc(p.getDesc());
! setPrice(p.getPrice());
! setImage(p.getImage());
! setSKU(p.getSKU());
! setSalePrice(p.getSalePrice());
! setOnSale(p.isOnSale());
! setVisible(p.isVisible());
}
+
+ public ProductVO toVO() {
+ ProductVO productVO = new ProductVO();
+ productVO.setProductId(getProductId());
+ productVO.setTitle(getTitle());
+ productVO.setDesc(getDesc());
+ productVO.setPrice(getPrice());
+ productVO.setImage(getImage());
+ productVO.setSKU(getSKU());
+ productVO.setSalePrice(getSalePrice());
+ productVO.setVisible(isVisible());
+ productVO.setOnSale(isOnSale());
+ return productVO;
+ }
public void reset(ActionMapping mapping, HttpServletRequest request) {
Index: RemoveCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/RemoveCategoryAction.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** RemoveCategoryAction.java 16 May 2002 20:23:37 -0000 1.6
--- RemoveCategoryAction.java 22 May 2002 20:45:41 -0000 1.7
***************
*** 34,37 ****
--- 34,38 ----
import org.cayambe.client.CategoryDelegate;
import org.apache.log4j.Category;
+ import org.cayambe.util.CayambeActionMappings;
public final class RemoveCategoryAction extends Action {
***************
*** 45,51 ****
throws IOException, ServletException {
! String worked = "success";
try {
- ListCategoriesAction lca = new ListCategoriesAction();
CategoryActionForm caf = (CategoryActionForm)form;
--- 46,51 ----
throws IOException, ServletException {
! String worked = CayambeActionMappings.SUCCESS;
try {
CategoryActionForm caf = (CategoryActionForm)form;
***************
*** 55,60 ****
c.setId(new Long(caf.getCategoryId()));
}
-
-
cDelegate = new CategoryDelegate();
--- 55,58 ----
***************
*** 67,70 ****
--- 65,69 ----
mid.RemoveCategory(c);
+ ListCategoriesAction lca = new ListCategoriesAction();
lca.ProcessRequest( caf, request );
Index: RemoveProductAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/RemoveProductAction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RemoveProductAction.java 6 May 2002 18:09:57 -0000 1.4
--- RemoveProductAction.java 22 May 2002 20:45:41 -0000 1.5
***************
*** 33,36 ****
--- 33,37 ----
import org.cayambe.client.ManageInventoryDelegate;
import org.apache.log4j.Category;
+ import org.cayambe.util.CayambeActionMappings;
public final class RemoveProductAction extends Action {
***************
*** 40,77 ****
- // --------------------------------------------------------- Public Methods
-
-
- /**
- * Process the specified HTTP request, and create the corresponding HTTP
- * response (or forward to another web component that will create it).
- * Return an <code>ActionForward</code> instance describing where and how
- * control should be forwarded, or <code>null</code> if the response has
- * already been completed.
- *
- * @param mapping The ActionMapping used to select this instance
- * @param actionForm The optional ActionForm bean for this request (if any)
- * @param request The HTTP request we are processing
- * @param response The HTTP response we are creating
- *
- * @exception IOException if an input/output error occurs
- * @exception ServletException if a servlet exception occurs
- */
-
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
ProductActionForm paf = (ProductActionForm)form;
! ProductVO p = new ProductVO();
p.setProductId(paf.getProductId());
! String worked = "success";
! try {
ManageInventoryDelegate mid = new ManageInventoryDelegate();
mid.RemoveProduct(p);
! } catch (Exception e){
! cat.info("I am the Action class and the error is: " + e.getMessage());
! }
return (mapping.findForward(worked));
--- 41,60 ----
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
+ String worked = CayambeActionMappings.SUCCESS;
+
ProductActionForm paf = (ProductActionForm)form;
! ProductVO p = new ProductVO();
p.setProductId(paf.getProductId());
! try {
ManageInventoryDelegate mid = new ManageInventoryDelegate();
mid.RemoveProduct(p);
! } catch (Exception e){
! cat.info(e.getMessage());
! }
return (mapping.findForward(worked));
Index: SearchInventoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/SearchInventoryAction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SearchInventoryAction.java 6 May 2002 18:09:57 -0000 1.5
--- SearchInventoryAction.java 22 May 2002 20:45:41 -0000 1.6
***************
*** 32,35 ****
--- 32,36 ----
import org.apache.struts.util.MessageResources;
import org.cayambe.core.ProductVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.web.admin.action.ProductActionForm;
import org.cayambe.client.ProductDelegate;
***************
*** 41,92 ****
private Category cat = (Category)Category.getInstance(CLASSNAME);
- // --------------------------------------------------------- Public Methods
-
-
- /**
- * Process the specified HTTP request, and create the corresponding HTTP
- * response (or forward to another web component that will create it).
- * Return an <code>ActionForward</code> instance describing where and how
- * control should be forwarded, or <code>null</code> if the response has
- * already been completed.
- *
- * @param mapping The ActionMapping used to select this instance
- * @param actionForm The optional ActionForm bean for this request (if any)
- * @param request The HTTP request we are processing
- * @param response The HTTP response we are creating
- *
- * @exception IOException if an input/output error occurs
- * @exception ServletException if a servlet exception occurs
- */
-
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
! List list = null;
! String worked = "success";
!
! ProductActionForm productActionForm = (ProductActionForm)form;
! ProductVO p = new ProductVO();
! p.setTitle(productActionForm.getTitle());
! p.setDesc(productActionForm.getDesc());
! p.setSKU(productActionForm.getSKU());
! //p.setOnSale(productActionForm.getOnSale());
! //p.setVisible(productActionForm.getVisible());
! try {
! ProductDelegate pd = new ProductDelegate();
! pd.SearchProduct(p);
! list = pd.getProductList();
! } catch (Exception e){
! cat.info(e.getMessage());
! }
! request.setAttribute("products",list);
return (mapping.findForward(worked));
}
!
!
! }
--- 42,71 ----
private Category cat = (Category)Category.getInstance(CLASSNAME);
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
! ActionErrors errors = new ActionErrors();
! String worked = CayambeActionMappings.SUCCESS;
! try {
!
! ProductDelegate pd = new ProductDelegate();
!
! ProductActionForm productActionForm = (ProductActionForm)form;
! ProductVO p = new ProductVO();
! p = productActionForm.toVO();
!
! pd.SearchProduct(p);
! request.setAttribute("products",pd.getProductList());
! } catch (Exception e){
! cat.info(e.getMessage());
! worked = CayambeActionMappings.FAILURE;
! errors.add("generic",new ActionError("error.generic"));
! }
return (mapping.findForward(worked));
}
! }
\ No newline at end of file
Index: SearchProductAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/SearchProductAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SearchProductAction.java 6 May 2002 21:56:17 -0000 1.1
--- SearchProductAction.java 22 May 2002 20:45:41 -0000 1.2
***************
*** 29,32 ****
--- 29,34 ----
import org.apache.struts.action.ActionServlet;
import org.apache.struts.util.MessageResources;
+ import org.cayambe.core.ProductVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.apache.log4j.Category;
***************
*** 38,48 ****
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
! throws IOException, ServletException {
- String worked = "success";
return (mapping.findForward(worked));
}
!
! }
--- 40,53 ----
public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response)
! throws IOException, ServletException {
!
! String worked = CayambeActionMappings.SUCCESS;
!
! ProductVO productVO = new ProductVO();
! request.setAttribute("productVO",productVO);
return (mapping.findForward(worked));
}
! }
\ No newline at end of file
Index: UpdateCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/UpdateCategoryAction.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** UpdateCategoryAction.java 20 May 2002 16:27:09 -0000 1.9
--- UpdateCategoryAction.java 22 May 2002 20:45:41 -0000 1.10
***************
*** 30,33 ****
--- 30,34 ----
import org.apache.struts.util.MessageResources;
import org.cayambe.core.CategoryVO;
+ import org.cayambe.util.CayambeActionMappings;
import org.cayambe.web.admin.action.CategoryActionForm;
import org.cayambe.client.ManageInventoryDelegate;
***************
*** 43,46 ****
--- 44,49 ----
throws IOException, ServletException {
+ String worked = CayambeActionMappings.SUCCESS;
+
ActionErrors errors = new ActionErrors();
***************
*** 56,60 ****
c.setHeader(caf.getHeader());
- String worked = "success";
try {
ManageInventoryDelegate mid = new ManageInventoryDelegate();
--- 59,62 ----
Index: UpdateProductToCategoryAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/UpdateProductToCategoryAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** UpdateProductToCategoryAction.java 16 May 2002 20:23:37 -0000 1.2
--- UpdateProductToCategoryAction.java 22 May 2002 20:45:41 -0000 1.3
***************
*** 29,32 ****
--- 29,33 ----
import org.cayambe.client.ProductDelegate;
import org.cayambe.client.CategoryDelegate;
+ import org.cayambe.util.CayambeActionMappings;
import org.apache.log4j.Category;
***************
*** 43,47 ****
lca.ProcessRequest( form, request );
! String worked = "success";
try {
CategoryVO c = new CategoryVO();
--- 44,48 ----
lca.ProcessRequest( form, request );
! String worked = CayambeActionMappings.SUCCESS;
try {
CategoryVO c = new CategoryVO();
Index: ViewProductAction.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/admin/action/ViewProductAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ViewProductAction.java 17 May 2002 00:16:13 -0000 1.1
--- ViewProductAction.java 22 May 2002 20:45:41 -0000 1.2
***************
*** 26,29 ****
--- 26,30 ----
import org.cayambe.core.ProductVO;
import org.cayambe.client.ProductDelegate;
+ import org.cayambe.util.CayambeActionMappings;
import org.apache.log4j.Category;
***************
*** 40,44 ****
ProductActionForm paf = (ProductActionForm)form;
! String worked = "success";
try {
ProductVO p;
--- 41,45 ----
ProductActionForm paf = (ProductActionForm)form;
! String worked = CayambeActionMappings.SUCCESS;
try {
ProductVO p;
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src/org/cayambe/util
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/org/cayambe/util
Added Files:
CayambeProperties.java
Removed Files:
DollarFormat.java
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
--- NEW FILE: CayambeProperties.java ---
/*
* CayambeProperties.java
*
* Created on May 21st, 2002, 11:26 PM
*/
package org.cayambe.util;
import java.util.Locale;
import java.io.Serializable;
/**
*
* @author Jon Rose<jo...@wa...>
* @version 0.1
*/
public class CayambeProperties implements Serializable{
public static final Locale LOCAL = Locale.US;
}
--- DollarFormat.java DELETED ---
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src
Modified Files:
build.sh build.xml
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
Index: build.sh
===================================================================
RCS file: /cvsroot/cayambe/core/src/build.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** build.sh 16 May 2002 23:14:19 -0000 1.5
--- build.sh 22 May 2002 20:45:40 -0000 1.6
***************
*** 91,95 ****
fi
! CP="${TOOLS_LIB}${PS}${J2EE_LIB}${PS}${SERVLET_LIB}${PS}${STRUTS_LIB}${PS}${TILES_LIB}${PS}${LOG4J_LIB}${PS}${ANT_LIB}"
$JAVA_HOME/bin/java -classpath $CP org.apache.tools.ant.Main $*
--- 91,97 ----
fi
! CP="${TOOLS_LIB}${PS}${J2EE_LIB}${PS}${SERVLET_LIB}${PS}${STRUTS_LIB}${PS}${TILES_LIB}${PS}${LOG4J_LIB}${PS}${ANT_LIB}${PS}${J2EE_HOME}/lib/j2ee.jar"
!
! echo "CLASSPATH: $CP"
$JAVA_HOME/bin/java -classpath $CP org.apache.tools.ant.Main $*
Index: build.xml
===================================================================
RCS file: /cvsroot/cayambe/core/src/build.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** build.xml 20 May 2002 16:27:09 -0000 1.18
--- build.xml 22 May 2002 20:45:40 -0000 1.19
***************
*** 90,96 ****
</fileset>
</copy>
! <copy file="${struts.home}/lib/struts.jar" tofile="${cartwar}/WEB-INF/lib/struts.jar"/>
! <copy file="${struts.home}/lib/tiles.jar" tofile="${cartwar}/WEB-INF/lib/tiles.jar"/>
! <copy file="${log4j.home}/lib/log4j.jar" tofile="${cartwar}/WEB-INF/lib/log4j.jar"/>
<jar basedir="${cartwar}" jarfile="${cartwar}/../cart.war" compress="false"/>
</target>
--- 90,96 ----
</fileset>
</copy>
! <!-- <copy file="${struts.home}/lib/struts.jar" tofile="${cartwar}/WEB-INF/lib/struts.jar"/> -->
! <!-- <copy file="${struts.home}/lib/tiles.jar" tofile="${cartwar}/WEB-INF/lib/tiles.jar"/> -->
! <!-- <copy file="${log4j.home}/lib/log4j.jar" tofile="${cartwar}/WEB-INF/lib/log4j.jar"/> -->
<jar basedir="${cartwar}" jarfile="${cartwar}/../cart.war" compress="false"/>
</target>
***************
*** 125,131 ****
</fileset>
</copy>
! <copy file="${struts.home}/lib/struts.jar" tofile="${adminwar}/WEB-INF/lib/struts.jar"/>
! <copy file="${struts.home}/lib/tiles.jar" tofile="${adminwar}/WEB-INF/lib/tiles.jar"/>
! <copy file="${log4j.home}/lib/log4j.jar" tofile="${adminwar}/WEB-INF/lib/log4j.jar"/>
<copy file="etc/ApplicationResources.properties" tofile="${adminwar}/WEB-INF/classes/ApplicationResources.properties"/>
--- 125,131 ----
</fileset>
</copy>
! <!-- <copy file="${struts.home}/lib/struts.jar" tofile="${adminwar}/WEB-INF/lib/struts.jar"/> -->
! <!-- <copy file="${struts.home}/lib/tiles.jar" tofile="${adminwar}/WEB-INF/lib/tiles.jar"/> -->
! <!-- <copy file="${log4j.home}/lib/log4j.jar" tofile="${adminwar}/WEB-INF/lib/log4j.jar"/> -->
<copy file="etc/ApplicationResources.properties" tofile="${adminwar}/WEB-INF/classes/ApplicationResources.properties"/>
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src/org/cayambe/web/cart/action
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/org/cayambe/web/cart/action
Modified Files:
SearchProductActionForm.java
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
Index: SearchProductActionForm.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/web/cart/action/SearchProductActionForm.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SearchProductActionForm.java 17 May 2002 22:23:16 -0000 1.1
--- SearchProductActionForm.java 22 May 2002 20:45:41 -0000 1.2
***************
*** 18,22 ****
import org.apache.struts.action.ActionMapping;
import org.cayambe.core.ProductVO;
! import org.cayambe.util.DollarFormat;
--- 18,24 ----
import org.apache.struts.action.ActionMapping;
import org.cayambe.core.ProductVO;
! import java.text.NumberFormat;
! import java.util.Locale;
! import org.cayambe.util.CayambeProperties;
***************
*** 25,29 ****
// --------------------------------------------------- Instance Variables
! DollarFormat df = new DollarFormat();
private String productId = null;
--- 27,31 ----
// --------------------------------------------------- Instance Variables
! NumberFormat nf = NumberFormat.getCurrencyInstance(CayambeProperties.LOCAL);
private String productId = null;
***************
*** 51,55 ****
public double getPrice() { return (this.price); }
public void setPrice(double _price) { this.price = _price; }
! public String getDollarPrice() { return (df.getDollarFormat(price)); }
public String getImage() { return (this.image); }
--- 53,57 ----
public double getPrice() { return (this.price); }
public void setPrice(double _price) { this.price = _price; }
! public String getDollarPrice() { return (nf.format(price)); }
public String getImage() { return (this.image); }
***************
*** 61,65 ****
public double getSalePrice() { return (this.salePrice); }
public void setSalePrice(double _salePrice) { this.salePrice = _salePrice; }
! public String getDollarSalePrice() { return (df.getDollarFormat(salePrice)); }
public boolean isOnSale() { return (this.onSale); }
--- 63,67 ----
public double getSalePrice() { return (this.salePrice); }
public void setSalePrice(double _salePrice) { this.salePrice = _salePrice; }
! public String getDollarSalePrice() { return (nf.format(salePrice)); }
public boolean isOnSale() { return (this.onSale); }
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src/org/cayambe/dao
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/org/cayambe/dao
Modified Files:
CategoryDAO.java ProductDAO.java
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
Index: CategoryDAO.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/dao/CategoryDAO.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** CategoryDAO.java 13 May 2002 18:55:13 -0000 1.15
--- CategoryDAO.java 22 May 2002 20:45:41 -0000 1.16
***************
*** 52,76 ****
sqlString.append(c.getHeader());
sqlString.append("','");
! if (c.isSelected()) {
sqlString.append("1");
! } else {
sqlString.append("0");
! }
sqlString.append("','");
sqlString.append(c.getImagePath());
sqlString.append("')");
! sqlString2.append("insert into category_category (category_id,parent_id)");
! sqlString2.append(" values (");
! sqlString2.append("LAST_INSERT_Id()");
! sqlString2.append(",'");
! sqlString2.append(c.getParentId());
! sqlString2.append("')");
} else {
sqlString.append("update category set name = '");
sqlString.append(c.getName());
! sqlString.append("', header = '");
sqlString.append(c.getHeader());
! sqlString.append("', visible = '");
if (c.isSelected()) {
sqlString.append("1");
--- 52,76 ----
sqlString.append(c.getHeader());
sqlString.append("','");
! if (c.isSelected()) {
sqlString.append("1");
! } else {
sqlString.append("0");
! }
sqlString.append("','");
sqlString.append(c.getImagePath());
sqlString.append("')");
! sqlString2.append("insert into category_category (category_id,parent_id)");
! sqlString2.append(" values (");
! sqlString2.append("LAST_INSERT_Id()");
! sqlString2.append(",'");
! sqlString2.append(c.getParentId());
! sqlString2.append("')");
} else {
sqlString.append("update category set name = '");
sqlString.append(c.getName());
! sqlString.append("', header = '");
sqlString.append(c.getHeader());
! sqlString.append("', visible = '");
if (c.isSelected()) {
sqlString.append("1");
***************
*** 78,82 ****
sqlString.append("0");
}
! sqlString.append("', image = '");
sqlString.append(c.getImagePath());
sqlString.append("' where category_id = '");
--- 78,82 ----
sqlString.append("0");
}
! sqlString.append("', image = '");
sqlString.append(c.getImagePath());
sqlString.append("' where category_id = '");
***************
*** 94,98 ****
--- 94,100 ----
stmt = conn.createStatement();
+ cat.debug("About run first stmt.");
stmt.executeUpdate(sqlString.toString());
+ cat.debug("first stmt executed successfully");
stmt.executeUpdate(sqlString2.toString());
stmt.close();
***************
*** 102,106 ****
} catch (Exception e) {
cat.info(e.getMessage());
! } finally {
try {
if (conn != null) conn.close();
--- 104,108 ----
} catch (Exception e) {
cat.info(e.getMessage());
! } finally {
try {
if (conn != null) conn.close();
Index: ProductDAO.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/dao/ProductDAO.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** ProductDAO.java 16 May 2002 23:14:19 -0000 1.23
--- ProductDAO.java 22 May 2002 20:45:41 -0000 1.24
***************
*** 59,70 ****
sqlString.append("0");
}
! sqlString.append("','");
! if (p.isVisible()) {
sqlString.append("1");
! } else {
sqlString.append("0");
! }
! sqlString.append("')");
! } else {
sqlString.append("update product set title = '");
sqlString.append(p.getTitle());
--- 59,70 ----
sqlString.append("0");
}
! sqlString.append("','");
! if (p.isVisible()) {
sqlString.append("1");
! } else {
sqlString.append("0");
! }
! sqlString.append("')");
! } else {
sqlString.append("update product set title = '");
sqlString.append(p.getTitle());
***************
*** 230,244 ****
public Collection SearchProduct(ProductVO p)
{
StringBuffer sqlString = new StringBuffer(255);
sqlString.append("select * from product ");
sqlString.append("where ");
sqlString.append("upper(product.title) like upper('%");
! sqlString.append(p.getTitle());
sqlString.append("%')");
sqlString.append(" or upper(product.description) like upper('%");
! sqlString.append(p.getDesc());
sqlString.append("%')");
sqlString.append(" or upper(product.SKU) like upper('%");
! sqlString.append(p.getSKU());
sqlString.append("%')");
--- 230,262 ----
public Collection SearchProduct(ProductVO p)
{
+ String title = p.getTitle();
+ String SKU = p.getSKU();
+ String desc = p.getDesc();
+ if (p.getTitle() == null || p.getTitle().length() <= 0)
+ {
+ title = "NULL";
+ }
+
+ if (p.getSKU() == null || p.getSKU().length() <= 0)
+ {
+ SKU = "NULL";
+ }
+
+ if (p.getDesc() == null || p.getDesc().length() <= 0)
+ {
+ desc = null;
+ }
+
StringBuffer sqlString = new StringBuffer(255);
sqlString.append("select * from product ");
sqlString.append("where ");
sqlString.append("upper(product.title) like upper('%");
! sqlString.append(title);
sqlString.append("%')");
sqlString.append(" or upper(product.description) like upper('%");
! sqlString.append(desc);
sqlString.append("%')");
sqlString.append(" or upper(product.SKU) like upper('%");
! sqlString.append(SKU);
sqlString.append("%')");
***************
*** 246,308 ****
}
- public Collection SearchProductNotInCategory(CategoryVO c)
- {
-
- StringBuffer sqlString = new StringBuffer(255);
-
- ArrayList listTemp = new ArrayList();
- ArrayList list = null;
- Statement stmt = null;
- ResultSet rs = null;
- Connection conn = null;
-
- String tempSQL = "select category_id, product_id from product_category where category_id = " + c.getId();
-
- try {
-
- CayambeServiceLocator serviceLocator = CayambeServiceLocator.getInstance();
- DataSource ds = (DataSource)serviceLocator.getDatasource();
- conn = ds.getConnection();
-
- cat.debug("---> " + tempSQL);
- stmt = conn.createStatement();
- rs = stmt.executeQuery(tempSQL);
- while (rs.next()) {
- String ids = "insert into temp_product_category (category_id,product_id) values (" + rs.getString("category_id") + "," + rs.getString("product_id") + ")";
- listTemp.add(ids);
- }
- rs.close();
-
- cat.debug("---------->THE SIZE OF THE ARRAYLIST IS: " + listTemp.size());
- for (int i=0; i < listTemp.size(); i++) {
- cat.debug("---> " + listTemp.get(i));
- stmt.executeUpdate((String)listTemp.get(i));
- }
-
- sqlString.append("select distinct(product.product_id), product.* from product ");
- sqlString.append("LEFT JOIN temp_product_category ON product.product_id=temp_product_category.product_id where ");
- sqlString.append("temp_product_category.category_id IS NULL");
- list = (ArrayList)ListProduct(sqlString.toString());
-
- tempSQL = "delete from temp_product_category";
- cat.debug("---> " + tempSQL);
- stmt.executeUpdate(tempSQL);
- stmt.close();
- conn.close();
-
- } catch (Exception e) {
- cat.info(e.getMessage());
- } finally {
- try {
- if (conn != null) conn.close();
- if (stmt != null) stmt.close();
- if (rs != null) rs.close();
- } catch (SQLException ignored) {}
- }
- return list;
- }
-
-
-
public Collection ListProduct(String sqlString)
--- 264,267 ----
***************
*** 316,320 ****
try {
! cat.info(sqlString);
CayambeServiceLocator serviceLocator = CayambeServiceLocator.getInstance();
--- 275,279 ----
try {
! cat.info("LISTPRODUCT SQLSTRING ------>" + sqlString);
CayambeServiceLocator serviceLocator = CayambeServiceLocator.getInstance();
***************
*** 365,367 ****
}
! }
--- 324,326 ----
}
! }
\ No newline at end of file
|
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src/etc In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/etc Modified Files: ApplicationResources.properties Log Message: Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup. Index: ApplicationResources.properties =================================================================== RCS file: /cvsroot/cayambe/core/src/etc/ApplicationResources.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ApplicationResources.properties 20 May 2002 16:27:09 -0000 1.1 --- ApplicationResources.properties 22 May 2002 20:45:41 -0000 1.2 *************** *** 20,21 **** --- 20,23 ---- error.categoryName.required=<li>A Category Name is required. + + error.generic=<h3>Currently Unavailable</h3> |
|
From: Jon R. <jon...@us...> - 2002-05-22 20:45:44
|
Update of /cvsroot/cayambe/core/src/org/cayambe/client
In directory usw-pr-cvs1:/tmp/cvs-serv8240/src/org/cayambe/client
Modified Files:
ProductDelegate.java
Log Message:
Fixed problems with admin. Made VO's Serializable. Debug linkage error. Jboss needs mysql.jar in classpath at startup.
Index: ProductDelegate.java
===================================================================
RCS file: /cvsroot/cayambe/core/src/org/cayambe/client/ProductDelegate.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ProductDelegate.java 7 May 2002 20:08:10 -0000 1.6
--- ProductDelegate.java 22 May 2002 20:45:41 -0000 1.7
***************
*** 43,64 ****
public void SearchProduct (ProductVO p) {
try {
! facade.SearchProduct(p);
! }catch(Exception e){
! cat.info(e.getMessage());
! e.printStackTrace();
! }
! }
!
! public List SearchProductNotInCategory(CategoryVO c) {
! List list = null;
! try {
! list = facade.SearchProductNotInCategory(c);
}catch(Exception e){
! cat.info(e.getMessage());
e.printStackTrace();
}
- return list;
}
-
public void listProductsInCategory( CategoryVO category )
--- 43,52 ----
public void SearchProduct (ProductVO p) {
try {
! facade.SearchProduct(p);
}catch(Exception e){
! cat.info("<-><->" + e.getMessage());
e.printStackTrace();
}
}
public void listProductsInCategory( CategoryVO category )
|
|
From: Kim H. <kim...@ya...> - 2002-05-21 22:16:25
|
Mike, I know this is probably too late (I've been away from email for a week), but you also need to start JBoss via "run_with_tomcat" or "run tomcat" instead of just "run". That will cause the error message you got. Kim --- James Ward <ja...@co...> wrote: > Mike, > It doesn't look like the Embedded Tomcat started... > Did you download > the JBoss with Tomcat or Jetty? Also, it doesn't > look like your data > source is setup correctly. Check the Developers > Guide to see how to set > this up... > http://www.cayambe.org/docs/developer/CayambeDeveloperGuide.html > > -James > > > -----Original Message----- > From: Mike Broadbear [mailto:bro...@ho...] > Sent: Monday, May 13, 2002 6:10 PM > To: James Ward > Subject: Problem > > > When I start jboss server, I get the following > error. Any thoughts? > > [20:28:52,090,ContainerFactory] Undeployed > application: > file:/C:/JBoss-2.4.4/tmp/deploy/Default/cayambe.ear > [20:28:52,090,J2eeDeployer] unable to stop > application cayambe.ear: > org.jboss.deployment.J2eeDeploymentException: > Error(s) on stopping > application > cayambe.ear: > Unable to stop module cart.war: fatal error while > calling > :service=EmbeddedTomcat: > DefaultDomain:service=EmbeddedTomcat/nUnable to > stop module admin.war: fatal error while calling > :service=EmbeddedTomcat: > DefaultDomain:service=EmbeddedTomcat/n > [20:28:52,140,J2eeDeployer] Destroying application > cayambe.ear > [20:28:52,360,AutoDeployer] DeploymentInfo > failed:file:/C:/JBoss-2.4.4/deploy/cayambe.ear > org.jboss.deployment.J2eeDeploymentException: > application contains war > files but no web container available > at > org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:496) > at > org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459 > ) > at > org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190) > at java.lang.reflect.Method.invoke(Native Method) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at > org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395) > at > org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233) > at > org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371) > at > org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103) > at java.lang.reflect.Method.invoke(Native Method) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at > org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configu > rati > onService.java:967) > at $Proxy0.start(Unknown Source) > at > org.jboss.util.ServiceControl.start(ServiceControl.java:79) > at java.lang.reflect.Method.invoke(Native Method) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > at > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > at org.jboss.Main.<init>(Main.java:208) > at org.jboss.Main$1.run(Main.java:110) > at > java.security.AccessController.doPrivileged(Native > Method) > at org.jboss.Main.main(Main.java:106) > > Ok, I believe I have most of everything in place. > The jboss server > starts > on its own and the cayambe build file completes > without error. But, I > have > one problem. I pasted the snippets from the > documentation into the > respective jboss.jcml and standardjaws.xml files. > When I run the jboss > server, it freezes at: > > [19:40:24,440,DefaultDS] XA Connection pool > DefaultDS bound to > java:/DefaultDS > > > It does not freeze when I remove certain tags from > the jboss.jcml file. > The > entire log file is: > > > [19:40:15,650,root] Started Log4jService, > config=file:/C:/JBoss-2.4.4/conf/default/log4j.properties > [19:40:15,710,ClassPathExtension] Added > directory:file:/C:/JBoss-2.4.4/log/ > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/activation.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/castor-0.9.1.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/tyrex-0.9.8.5.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jboss.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jpl-util-0_5b.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jbosssx.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jcert.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jboss-management.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jbosspool.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jndi.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/gnu-regexp-1.0.8.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/oswego-concurrent.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jsse.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/ots-jts_1.0.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jbossmq.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/log4j.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/hsql.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jmxtools.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jbosscx.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/hsqldb.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jnpserver.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/mail.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jnet.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/jboss-j2ee.jar > [19:40:15,760,ClassPathExtension] Added > library:file:/C:/JBoss-2.4.4/lib/ext/mm.mysql-2.0.13-bin.jar > [19:40:15,820,Info] Java version: 1.3.0,Sun > Microsystems Inc. > [19:40:15,820,Info] Java VM: Java HotSpot(TM) Client > VM 1.3.0-C,Sun > Microsystems Inc. > [19:40:15,820,Info] System: Windows 98 4.10,x86 > [19:40:15,820,Info] +++ Full System Properties Dump > [19:40:15,820,Info] jmx.specification.vendor: Sun > Microsystems > [19:40:15,820,Info] java.runtime.name: Java(TM) 2 > Runtime Environment, > Standard Edition > [19:40:15,820,Info] sun.boot.library.path: > C:\PROGRAM > FILES\JAVASOFT\JRE\1.3\bin > [19:40:15,820,Info] java.vm.version: 1.3.0-C > [19:40:15,820,Info] java.vm.vendor: Sun Microsystems > Inc. > [19:40:15,820,Info] java.vendor.url: > http://java.sun.com/ > [19:40:15,820,Info] path.separator: ; > [19:40:15,820,Info] java.vm.name: Java HotSpot(TM) > Client VM > [19:40:15,820,Info] file.encoding.pkg: sun.io > [19:40:15,820,Info] java.vm.specification.name: Java > Virtual Machine > Specification > [19:40:15,820,Info] user.dir: C:\JBoss-2.4.4\bin > [19:40:15,820,Info] java.runtime.version: 1.3.0-C > [19:40:15,820,Info] java.awt.graphicsenv: > sun.awt.Win32GraphicsEnvironment > [19:40:15,820,Info] os.arch: x86 > [19:40:15,820,Info] java.io.tmpdir: c:\windows\TEMP\ > [19:40:15,820,Info] line.separator: > === message truncated === __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com |