Changeset 23
- Timestamp:
- 08/10/10 17:31:35 (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.0.9.0.txt
r19 r23 7 7 8 8 - Don't attempt to use an existing config. Start from scratch (with no proxy.xml) and use the generated config template. 9 Allow the default plugins to remain unless you find good reason to do otherwise. 9 Allow the default plugins to remain unless you find good reason to do otherwise. The generated config is the only 10 example template included in 0.9.0. 10 11 11 12 - Since the max connections limit is now per profile and not global: -
trunk/README.Compiling.txt
r1 r23 5 5 6 6 You'll need the following: 7 - The Java SE sdk and compiler (j 2sdk) 1.6 or later: http://developers.sun.com/downloads/new.jsp7 - The Java SE sdk and compiler (jdk) 1.6 or later: http://java.sun.com/javase/downloads/widget/jdk6.jsp 8 8 NOTE: As of 0.8.10 java 1.6 is required to compile everything, but 1.4 is still enough to run the proxy. 9 9 Sun only provides downloads for linux/win/solaris, osx users look to apple: http://developer.apple.com/java/download/ … … 13 13 http://java.sun.com/docs/books/tutorial/ 14 14 15 The proxy comes with project files for Intellij IDEA 7, but you don't need this to compile (its a commercial product):15 The proxy comes with project files for Intellij IDEA 9, but you don't need this to compile (its a commercial product): 16 16 http://www.jetbrains.com/idea/index.html 17 17 NOTE: There is now a open source community version as well, which works perfectly with the csp project files. … … 23 23 following procedure: 24 24 25 $ tar xvzf cardservproxy-0. 8.13-src.tar.gz25 $ tar xvzf cardservproxy-0.9.0-src.tar.gz 26 26 $ cd cardservproxy-src 27 27 $ ant -
trunk/src/com/bowman/cardserv/CardServProxy.java
r22 r23 579 579 if(!userManager.isMapExcluded(session.getUser())) { 580 580 session.setFlag(msg, 'P'); 581 // hack to track the origin user of the probe later (conn name is normally only used for reply messages) 582 msg.setConnectorName(session.toString()); 583 581 584 broadcastMessage(msg, connectors.getUnknown(), true); 582 585 } -
trunk/src/com/bowman/cardserv/cws/CwsServiceMapper.java
r17 r23 542 542 if(!connectors.contains(conn.getName())) { 543 543 connectors.add(conn.getName()); 544 logger.info("Discovered service [" + config.getServiceName(msg) + "] on CWS: " + conn); 544 String source = (session==null?msg.getConnectorName():session.toString()); // conn name contains origin-session in case of probes 545 logger.info("Discovered service [" + config.getServiceName(msg) + "] on CWS: " + conn + 546 (source==null?"":" - Ecm source was: " + source)); 545 547 if(session != null) session.setFlag(msg, '+'); 546 548 cacheUpdated = true; … … 568 570 connectors.remove(conn.getName()); 569 571 setLastFailed(id, conn.getName(), false, -1); 570 String s = "Service [" + config.getServiceName(msg) + "] no longer available on CWS: " + conn.getName() + 571 " Ecm source was: " + session; 572 if(resetServices.contains(id)) logger.info(s); 573 else logger.warning(s); 572 if(session != null) { 573 String s = "Service [" + config.getServiceName(msg) + "] no longer available on CWS: " + conn.getName() + 574 " Ecm source was: " + session; 575 if(resetServices.contains(id)) logger.info(s); 576 else logger.warning(s); 577 } 574 578 resetSingle(new ServiceMapping(id.serviceId, -1), conn.getName()); 575 579 if(session != null) session.setFlag(msg, '-'); … … 581 585 } else { 582 586 if(overrideCanDecodeMap.containsKey(id)) { 583 logger.info("Service [" + config.getServiceName(msg) + "] failed to decode on CWS: " + conn.getName() + 584 " (according to the manual can-decode list it should always decode). Ecm source was: " + session); 587 if(session != null) 588 logger.info("Service [" + config.getServiceName(msg) + "] failed to decode on CWS: " + conn.getName() + 589 " (according to the manual can-decode list it should always decode). Ecm source was: " + session); 585 590 return; 586 591 } else { 587 String s = "Service [" + config.getServiceName(msg) + "] failed to decode on CWS: " + conn.getName() + 588 " (two consecutive failures removes mapping). Ecm source was: " + session; 589 if(resetServices.contains(id)) logger.info(s); 590 else logger.warning(s); 592 if(session != null) { 593 String s = "Service [" + config.getServiceName(msg) + "] failed to decode on CWS: " + conn.getName() + 594 " (two consecutive failures removes mapping). Ecm source was: " + session; 595 if(resetServices.contains(id)) logger.info(s); 596 else logger.warning(s); 597 } 591 598 setLastFailed(id, conn.getName(), true, session==null?-1:session.getId()); 592 599 return; -
trunk/src/com/bowman/cardserv/session/EcmTransaction.java
r1 r23 106 106 public String getConnectorName() { 107 107 if(reply != null && reply.getConnectorName() != null) return reply.getConnectorName(); 108 else if(request != null && request.getConnectorName() != null) return request.getConnectorName();109 108 else return null; 110 109 } -
trunk/src/com/bowman/cardserv/web/FileFetcher.java
r1 r23 86 86 } 87 87 addConnection(conn); 88 if(lastModified != -1 && conn.getLastModified() !=0) {88 if(lastModified > 0 && conn.getLastModified() > 0) { 89 89 if(conn.getLastModified() <= lastModified) return null; 90 90 }
Note:
See TracChangeset
for help on using the changeset viewer.